-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
llvm-wrapper: remove llvm 12 hack #120368
Conversation
@bors r+ |
llvm-wrapper: remove llvm 12 hack effectively reverts rust-lang@9a8acea r? `@nikic`
…iaskrgr Rollup of 8 pull requests Successful merges: - rust-lang#103522 (stabilise array methods) - rust-lang#113489 (impl `From<&[T; N]>` for `Cow<[T]>`) - rust-lang#119562 (Rename `pointer` field on `Pin`) - rust-lang#119800 (Document `rustc_index::vec::IndexVec`) - rust-lang#120368 (llvm-wrapper: remove llvm 12 hack) - rust-lang#120378 (always normalize `LoweredTy` in the new solver) - rust-lang#120382 (Classify closure arguments in refutable pattern in argument error) - rust-lang#120389 (Add fmease to the compiler review rotation) r? `@ghost` `@rustbot` modify labels: rollup
@bors r- |
Yes, that's how failure to run NameAnonGlobals manifests. |
// before the RequiredLTOPreLinkPasses, in which case we can remove these hacks. | ||
if (OptimizerLastEPCallbacks.empty()) | ||
NeedThinLTOBufferPasses = false; | ||
NeedThinLTOBufferPasses = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you also need to drop the OptStage != LLVMRustOptStage::PreLinkThinLTO
condition above and drop the manual OptimizerLastEPCallbacks scheduling below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird, locally tests/ui/sanitize/new-llvm-pass-manager-thin-lto.rs
passes for me on x86_64-pc-windows-msvc
.
effectively reverts rust-lang@9a8acea
@bors r+ rollup=iffy |
☀️ Test successful - checks-actions |
Finished benchmarking commit (037f515): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 663.088s -> 661.097s (-0.30%) |
effectively reverts 9a8acea
r? @nikic