Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

topperc
Copy link
Collaborator

@topperc topperc commented Jul 5, 2024

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

Previously we used a lambda. llvm#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant