Skip to content

Conversation

Zalathar
Copy link
Contributor

@Zalathar Zalathar commented Oct 2, 2025

Originally I was only planning on extracting an md_node_in_context method, but then I noticed that all callers of LLVMMDNodeInContext2 could be covered by a small number of additional helper methods.

There should be no change in compiler output.

@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 Oct 2, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 2, 2025

r? @nnethercote

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

@nnethercote
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Oct 2, 2025

📌 Commit 8ef9821 has been approved by nnethercote

It is now in the queue for this repository.

@bors bors 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 Oct 2, 2025
bors added a commit that referenced this pull request Oct 3, 2025
Rollup of 6 pull requests

Successful merges:

 - #141839 (make rust-analyzer use a dedicated build directory)
 - #146166 (Implement range support in `//@ edition`)
 - #147259 (cg_llvm: Use helper methods for all calls to `LLVMMDNodeInContext2`)
 - #147263 (Disable triagebot auto stable-regression compiler backport nominations pending redesign)
 - #147268 (add arm-maintainers to various targets)
 - #147270 (Move doc_cfg-specific code into `cfg.rs`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 7a01155 into rust-lang:master Oct 3, 2025
10 checks passed
@rustbot rustbot added this to the 1.92.0 milestone Oct 3, 2025
rust-timer added a commit that referenced this pull request Oct 3, 2025
Rollup merge of #147259 - Zalathar:node-in-context, r=nnethercote

cg_llvm: Use helper methods for all calls to `LLVMMDNodeInContext2`

Originally I was only planning on extracting an `md_node_in_context` method, but then I noticed that all callers of `LLVMMDNodeInContext2` could be covered by a small number of additional helper methods.

There should be no change in compiler output.
@Zalathar Zalathar deleted the node-in-context branch October 3, 2025 03:56
@Zalathar
Copy link
Contributor Author

Zalathar commented Oct 3, 2025

Bors hasn't noticed that this was merged.

@bors r-

@bors bors 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 Oct 3, 2025
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-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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants