Skip to content

[ExecutionEngine] Use DenseMap::insert_range (NFC) #133847

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

Merged

Conversation

kazutakahirata
Copy link
Contributor

We can safely switch to insert_range here because LR starts out empty.
Also, *Result is a DenseMap, so we know that the keys are unique.

We can safely switch to insert_range here because LR starts out empty.
Also, *Result is a DenseMap, so we know that the keys are unique.
@kazutakahirata kazutakahirata requested a review from kuhar April 1, 2025 03:25
@kazutakahirata kazutakahirata merged commit 2de7b6c into llvm:main Apr 1, 2025
12 checks passed
@kazutakahirata kazutakahirata deleted the cleanup_001_map_range_DenseMap_llvm branch April 1, 2025 05:11
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.

2 participants