Generate openmp metadata#151071
Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom Jan 19, 2026
Merged
Conversation
Contributor
|
2134553 to
5c85d52
Compare
Member
Author
|
@rustbot review |
Contributor
|
@bors r+ rollup |
Contributor
rust-timer
added a commit
that referenced
this pull request
Jan 19, 2026
Rollup merge of #151071 - gen-openmp-metadata, r=nnethercote Generate openmp metadata LLVM has an openmp-opt pass, which is part of the default O3 pipeline. The pass bails if we don't have a global called openmp, so let's generate it if people enable our experimental offload feature. openmp is a superset of the offload feature, so they share optimizations. In follow-up PRs I'll start verifying that LLVM optimizes Rust the way we want it. r? compiler
github-actions bot
pushed a commit
to rust-lang/miri
that referenced
this pull request
Jan 20, 2026
…uwer Rollup of 4 pull requests Successful merges: - rust-lang/rust#151071 (Generate openmp metadata) - rust-lang/rust#151302 (add lint test) - rust-lang/rust#151338 (Factor out diagnostic slug checking from `DiagnosticDerive` ) - rust-lang/rust#151354 (ci: Move lockfile updates to a script) r? @ghost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LLVM has an openmp-opt pass, which is part of the default O3 pipeline.
The pass bails if we don't have a global called openmp, so let's generate it if people enable our experimental offload feature. openmp is a superset of the offload feature, so they share optimizations.
In follow-up PRs I'll start verifying that LLVM optimizes Rust the way we want it.
r? compiler