llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[TableGen] Use a struct with operator() for searchable table comparison.

Open topperc opened this issue 1 year ago • 0 comments

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

topperc avatar Jul 05 '24 03:07 topperc