Skip to content

GVN: Support unions.#146355

Merged
bors merged 2 commits intorust-lang:masterfrom
cjgillot:gvn-union
Oct 7, 2025
Merged

GVN: Support unions.#146355
bors merged 2 commits intorust-lang:masterfrom
cjgillot:gvn-union

Conversation

@cjgillot
Copy link
Copy Markdown
Contributor

@cjgillot cjgillot commented Sep 9, 2025

Supporting union values is not very hard, and allows to const-prop them.

r? @ghost for perf

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-mir-opt Area: MIR optimizations A-mir-opt-GVN Area: MIR opt Global Value Numbering (GVN) merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants