Repository navigation
Rollup of 6 pull requests - #165616
Closed
JonathanBrouwer wants to merge 12 commits into
Closed
Rollup of 6 pull requests#165616JonathanBrouwer wants to merge 12 commits into
JonathanBrouwer wants to merge 12 commits into
Conversation
This removes the need for workarounds to ensure drops are run (e.g. for `TempDir` cleanup).
It will ensure library options are picked up by new contexts, and lets us handle errors explicitly.
…nikic Parse LLVM options into an explicit global LibraryOptionsContext LLVM has been refactoring how it stores its internal (-mllvm) options recently, with the goal of getting rid of the global cl::opt objects. After http://github.com/llvm/llvm-project/pull/233044 LTO passes no longer uses the global options, which would cause codegen-llvm/pgo-counter-bias.rs to fail since it relies on the -runtime-counter-relocation option to get passed to LTO. Use the C API function LLVMParseCommandLineOptionsWithError which ensures the parsed options are picked up by new LLVMContexts.
Remove typed allocas and geps from `gpu_offload.rs` Typed GEPs are being removed from the rest of the compiler in rust-lang#165146, and typed allocas were already removed, so change `gpu_offload.rs` to match. This PR also removes the constant zero GEPs ([#t-compiler > GEP constant 0 in &rust-lang#96;gpu_offload.rs&rust-lang#96;](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/GEP.20constant.200.20in.20.60gpu_offload.2Ers.60/with/635158185)). r? @ZuseZ4
…=lolbinarycat rustdoc: remove `process::exit` This removes the need for workarounds to ensure drops are run (e.g. for `TempDir` cleanup) and hopefully prevents such situations from arising again.
…hanna-kruppe MIR opts: dont let optimize(size/none) increase the MIR opt level It does not seem right that with `-Zmir-opt-level=0`, an `optimize(none)` function gets optimized *more* than all the other functions.
coretests: speed up some tests in Miri
…nsts, r=JonathanBrouwer Replace the name of a removed MIR pass used in a test The `ConstDebugInfo` MIR pass was replaced by the `SingleUseConsts` pass in rust-lang#125910.
Member
Author
Contributor
Contributor
|
⌛ Trying commit 1d1ed59 with merge b48c030… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/42411489922 |
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 7, 2026
Rollup of 6 pull requests try-job: dist-various-1 try-job: test-various try-job: test-x86_64-gnu-aux try-job: test-x86_64-msvc-1 try-job: test-aarch64-apple-1 try-job: test-aarch64-apple-2 try-job: test-x86_64-mingw-1 try-job: test-i686-msvc try-job: test-armhf-gnu try-job: test-x86_64-gnu-llvm-22-3 try-job: test-aarch64-msvc-2
Contributor
|
This pull request was unapproved due to being closed. |
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.
Successful merges:
gpu_offload.rs#165154 (Remove typed allocas and geps fromgpu_offload.rs)process::exit#165554 (rustdoc: removeprocess::exit)Failed merges:
r? @ghost
Create a similar rollup