Skip to content

llvm-wrapper: Pass more arguments to PreCodeGenCallback - #166096

Merged
rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
zmodem:PreCodeGenCallback
Nov 24, 2026
Merged

rust-bors[bot] merged 2 commits into
rust-lang:mainfrom
zmodem:PreCodeGenCallback

Conversation

@zmodem

@zmodem zmodem commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

This adapts to llvm/llvm-project#241314

The idea seems to be to pass the same arguments as for runCodeGenPipeline.

This adapts to llvm/llvm-project#241314

The idea seems to be to pass the same arguments as for
runCodeGenPipeline.
@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 Nov 17, 2026
@rustbot

rustbot commented Nov 17, 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

@zmodem

zmodem commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

@rustbot label llvm-main

@rustbot rustbot added the llvm-main Marks PRs that are making Rust work with LLVM main (this label is consumed by CI tooling) label Nov 17, 2026
@zmodem
zmodem requested a review from cuviper November 18, 2026 09:46
beckysiegel pushed a commit to chromium/chromium that referenced this pull request Nov 18, 2026
rust-lang/rust#166096 adapts llvm-wrapper to
llvm/llvm-project#241314, which changed the
PreCodeGenCallback signature. Cherry-pick it when building against an
LLVM that contains that change.

Bug: 587359041
Change-Id: Ie48fe1634d1dae44778f8a757fa291494831ccf9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8835090
Commit-Queue: Nico Weber <[email protected]>
Reviewed-by: Hans Wennborg <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1748302}
chromium-full-mirror-sync-agent Bot pushed a commit to chromium-full-mirror/chromium_src_tools_rust that referenced this pull request Nov 19, 2026
rust-lang/rust#166096 adapts llvm-wrapper to
llvm/llvm-project#241314, which changed the
PreCodeGenCallback signature. Cherry-pick it when building against an
LLVM that contains that change.

Bug: 587359041
Change-Id: Ie48fe1634d1dae44778f8a757fa291494831ccf9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8835090
Commit-Queue: Nico Weber <[email protected]>
Reviewed-by: Hans Wennborg <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1748302}
NOKEYCHECK=True
GitOrigin-RevId: 6deec0785a23b33045f7e54c494a05839905f687
@zmodem

zmodem commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

@cuviper: Friendly ping.

@cuviper

cuviper commented Nov 23, 2026

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 4d603c2 has been approved by cuviper

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 Nov 23, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
Rollup of 11 pull requests

Successful merges:

 - #165769 (Fix invalid instantiation of fake intrinsic bodies)
 - #166374 (Undo accidental duplication checking for attributes on macro calls)
 - #166386 (Replace manual `AttributeParser` construction by `parse_limited_all`)
 - #162565 (Add `c_buffer_length` lint helper)
 - #166096 (llvm-wrapper: Pass more arguments to PreCodeGenCallback)
 - #166395 (std: fix positioned read/write on VxWorks)
 - #166404 (Change `ChildExt::kill_process_group` to be `&self`)
 - #166405 (Check for errors before encoding metadata)
 - #166412 (std: Fix locking test on GNU/Hurd)
 - #166413 (std: Fix symlink chmod test on GNU/Hurd)
 - #166421 (core: Stabilize `float_bits_const`)
@rust-bors
rust-bors Bot merged commit 3b0d26b into rust-lang:main Nov 24, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 24, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
Rollup merge of #166096 - zmodem:PreCodeGenCallback, r=cuviper

llvm-wrapper: Pass more arguments to PreCodeGenCallback

This adapts to llvm/llvm-project#241314

The idea seems to be to pass the same arguments as for runCodeGenPipeline.
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Nov 26, 2026
Rollup of 11 pull requests

Successful merges:

 - rust-lang/rust#165769 (Fix invalid instantiation of fake intrinsic bodies)
 - rust-lang/rust#166374 (Undo accidental duplication checking for attributes on macro calls)
 - rust-lang/rust#166386 (Replace manual `AttributeParser` construction by `parse_limited_all`)
 - rust-lang/rust#162565 (Add `c_buffer_length` lint helper)
 - rust-lang/rust#166096 (llvm-wrapper: Pass more arguments to PreCodeGenCallback)
 - rust-lang/rust#166395 (std: fix positioned read/write on VxWorks)
 - rust-lang/rust#166404 (Change `ChildExt::kill_process_group` to be `&self`)
 - rust-lang/rust#166405 (Check for errors before encoding metadata)
 - rust-lang/rust#166412 (std: Fix locking test on GNU/Hurd)
 - rust-lang/rust#166413 (std: Fix symlink chmod test on GNU/Hurd)
 - rust-lang/rust#166421 (core: Stabilize `float_bits_const`)
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. llvm-main Marks PRs that are making Rust work with LLVM main (this label is consumed by CI tooling) 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.

3 participants