Skip to content

Couple of cg_ssa refactorings#153046

Merged
rust-bors[bot] merged 5 commits intorust-lang:mainfrom
bjorn3:cg_ssa_cleanups
Mar 2, 2026
Merged

Couple of cg_ssa refactorings#153046
rust-bors[bot] merged 5 commits intorust-lang:mainfrom
bjorn3:cg_ssa_cleanups

Conversation

@bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Feb 24, 2026

These should help a bit with using cg_ssa in cg_clif at some point in the future.

@rustbot
Copy link
Collaborator

rustbot commented Feb 24, 2026

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo, @GuillaumeGomez

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 24, 2026
@rustbot
Copy link
Collaborator

rustbot commented Feb 24, 2026

r? @TaKO8Ki

rustbot has assigned @TaKO8Ki.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 68 candidates
  • Random selection from 13 candidates

@rust-log-analyzer

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.
@bjorn3 bjorn3 force-pushed the cg_ssa_cleanups branch 2 times, most recently from 1165ac2 to 79d3b8e Compare February 24, 2026 15:43
@rust-log-analyzer

This comment has been minimized.

In Cranelift a Value can't hold arbitrarily sized values.
@TaKO8Ki
Copy link
Member

TaKO8Ki commented Mar 2, 2026

@bors r+

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 2, 2026

📌 Commit df4b228 has been approved by TaKO8Ki

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 2, 2026
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.
@TaKO8Ki
Copy link
Member

TaKO8Ki commented Mar 2, 2026

@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)
@jhpratt
Copy link
Member

jhpratt commented Mar 2, 2026

As the only thing touching codegen, I believe this is the cause of #153270 (comment)

@bors r-

@rust-bors rust-bors bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Mar 2, 2026
@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 2, 2026

Commit df4b228 has been unapproved.

This PR was contained in a rollup (#153270), which was also unapproved.

@joboet
Copy link
Member

joboet commented Mar 2, 2026

@bors r=TaKO8Ki
#153015 was the cause of the failure.

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 2, 2026

📌 Commit df4b228 has been approved by TaKO8Ki

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 2, 2026
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-bors rust-bors bot merged commit ad4b2c0 into rust-lang:main Mar 2, 2026
11 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Mar 2, 2026
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.
@bjorn3 bjorn3 deleted the cg_ssa_cleanups branch March 2, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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.

6 participants