Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage: Emit LLVM intrinsics using the normal helper method #132125

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

Zalathar
Copy link
Contributor

Codegen already has convenient ways to declare and emit LLVM intrinsics, so there's no need for coverage instrumentation to jump through hoops to emit them manually.

@Zalathar Zalathar added the A-code-coverage Area: Source-based code coverage (-Cinstrument-coverage) label Oct 25, 2024
@rustbot
Copy link
Collaborator

rustbot commented Oct 25, 2024

r? @estebank

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

@rustbot rustbot added 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 25, 2024
@rust-log-analyzer

This comment has been minimized.

@rustbot
Copy link
Collaborator

rustbot commented Oct 25, 2024

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo, @GuillaumeGomez

@Zalathar
Copy link
Contributor Author

Zalathar commented Oct 25, 2024

Also removed a corresponding stubbed-out method from rustc_codegen_gcc, hooray.

Copy link
Member

@jieyouxu jieyouxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a very nice cleanup, you can r=me after PR CI is green.

@jieyouxu jieyouxu assigned jieyouxu and unassigned estebank Oct 25, 2024
@Zalathar
Copy link
Contributor Author

🟩

@bors r=jieyouxu

@bors
Copy link
Contributor

bors commented Oct 25, 2024

📌 Commit 8f07514 has been approved by jieyouxu

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 25, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 25, 2024
…kingjubilee

Rollup of 4 pull requests

Successful merges:

 - rust-lang#131457 (Expand `ptr::fn_addr_eq()` documentation.)
 - rust-lang#132085 (Update StableMIR doc to reflect current status)
 - rust-lang#132118 (Add support for `~const` item bounds)
 - rust-lang#132125 (coverage: Emit LLVM intrinsics using the normal helper method)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 7f93af1 into rust-lang:master Oct 25, 2024
6 checks passed
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Oct 25, 2024
Rollup merge of rust-lang#132125 - Zalathar:coverage-intrinsics, r=jieyouxu

coverage: Emit LLVM intrinsics using the normal helper method

Codegen already has convenient ways to declare and emit LLVM intrinsics, so there's no need for coverage instrumentation to jump through hoops to emit them manually.
@rustbot rustbot added this to the 1.84.0 milestone Oct 25, 2024
@Zalathar Zalathar deleted the coverage-intrinsics branch October 25, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-code-coverage Area: Source-based code coverage (-Cinstrument-coverage) 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