Couple of cg_ssa refactorings#153046
Merged
rust-bors[bot] merged 5 commits intorust-lang:mainfrom Mar 2, 2026
Merged
Conversation
This allows removing the Metadata associated type from BackendTypes.
Collaborator
|
Some changes occurred in compiler/rustc_codegen_gcc |
Collaborator
|
r? @TaKO8Ki rustbot has assigned @TaKO8Ki. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
In Cranelift the regular Type enum can't represent function signatures. Function pointers are represented as plain pointer sized integer.
1165ac2 to
79d3b8e
Compare
This comment has been minimized.
This comment has been minimized.
In Cranelift a Value can't hold arbitrarily sized values.
79d3b8e to
df4b228
Compare
TaKO8Ki
approved these changes
Mar 2, 2026
Member
|
@bors r+ |
Contributor
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Mar 2, 2026
Couple of cg_ssa refactorings These should help a bit with using cg_ssa in cg_clif at some point in the future.
Member
|
@bors rollup |
rust-bors bot
pushed a commit
that referenced
this pull request
Mar 2, 2026
Rollup of 6 pull requests Successful merges: - #153015 (core: make atomic primitives type aliases of `Atomic<T>`) - #153046 (Couple of cg_ssa refactorings) - #153169 (Various small query cleanups) - #152304 (stabilize new RangeToInclusive type) - #153225 (tests/ui/asm: add annotations for reference rules) - #153233 (test: add regression test for fuzzy_provenance_casts lint ICE)
Member
|
As the only thing touching codegen, I believe this is the cause of #153270 (comment) @bors r- |
Contributor
Member
Contributor
rust-bors bot
pushed a commit
that referenced
this pull request
Mar 2, 2026
…uwer Rollup of 6 pull requests Successful merges: - #153169 (Various small query cleanups) - #152304 (stabilize new RangeToInclusive type) - #153046 (Couple of cg_ssa refactorings) - #153090 (elf-raw-dylib: set type for functions) - #153225 (tests/ui/asm: add annotations for reference rules) - #153233 (test: add regression test for fuzzy_provenance_casts lint ICE)
rust-timer
added a commit
that referenced
this pull request
Mar 2, 2026
Rollup merge of #153046 - bjorn3:cg_ssa_cleanups, r=TaKO8Ki Couple of cg_ssa refactorings These should help a bit with using cg_ssa in cg_clif at some point in the future.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These should help a bit with using cg_ssa in cg_clif at some point in the future.