Skip to content

Use runCodeGen Abstraction for new LLVM - #163672

Open
boomanaiden154 wants to merge 3 commits into
rust-lang:mainfrom
boomanaiden154:rustc-newpm-new-abstraction
Open

boomanaiden154 wants to merge 3 commits into
rust-lang:mainfrom
boomanaiden154:rustc-newpm-new-abstraction

Conversation

@boomanaiden154

Copy link
Copy Markdown
Contributor

This is the abstraction that clang/flang both use. It simplifies the code by quite a bit (although not until we delete the old version). Mainly this enables the use of the NewPM for LLVM targets that opt-in (currently only Lanai and MSP430, but more soon).

This is the abstraction that clang/flang both use. It simplifies the
code by quite a bit (although not until we delete the old version).
Mainly this enables the use of the NewPM for LLVM targets that opt-in
(currently only Lanai and MSP430, but more soon).
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 2, 2026
@boomanaiden154
boomanaiden154 marked this pull request as ready for review October 2, 2026 18:19
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 2, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 2, 2026
@rustbot

rustbot commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

r? @cuviper

rustbot has assigned @cuviper.
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: @cuviper

@rust-log-analyzer

This comment has been minimized.

This does not seem to get transitively included otherwise.
@rust-log-analyzer

This comment has been minimized.

Otherwise it does not exist. Screwed up when trying to eliminate the
LLVM 24+ constructor.
@rust-bors

rust-bors Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #163680) made this pull request unmergeable. Please resolve the merge conflicts by rebasing.

This branch has not been deployed

No deployments
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-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants