llvm-project
llvm-project copied to clipboard
[TableGen] Use a struct with operator() for searchable table comparison.
Previously we used a lambda. #96174 is proposing to use equal_range for some cases instead of lower_bound. This requires two different comparison functions since KeyType and IndexType are different types.
CC: @quic-garvgupt