Skip to content

[CodeGen] Simplify finalizeBundle. NFC. #139234

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
merged 2 commits into from
May 9, 2025

Conversation

jayfoad
Copy link
Contributor

@jayfoad jayfoad commented May 9, 2025

Use all_uses and all_defs instead of separate Defs vector. Use
SmallSetVector instead of separate SmallSet and SmallVector. Remove
unneeded Added set. Fold FrameSetup/FrameDestroy into the main loop
instead of doing a separate loop over the bundled instructions.

Use all_uses and all_defs instead of separate Defs vector. Use
SmallSetVector instead of separate SmallSet and SmallVector. Remove
unneeded `Added` set. Fold FrameSetup/FrameDestroy into the main loop
instead of doing a separate loop over the bundled instructions.
@jayfoad jayfoad merged commit 6b7e65a into llvm:main May 9, 2025
9 of 10 checks passed
@jayfoad jayfoad deleted the simplify-finalizebundle branch May 9, 2025 15: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