-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Misc LTO cleanups #146209
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
base: master
Are you sure you want to change the base?
Misc LTO cleanups #146209
Conversation
rustbot has assigned @workingjubilee. Use |
Some changes occurred in compiler/rustc_codegen_ssa Some changes occurred in compiler/rustc_codegen_gcc |
Co-Authored-By: Rémy Rakic <remy.rakic+github@gmail.com>
It is only used within cg_llvm.
It is always false nowadays. ThinLTO summary writing is instead done by llvm_optimize.
b075ea9
to
fbaf55f
Compare
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
Follow up to #145955.
prepare_thin
.Since The embedded bitcode should always be prepared for LTO/ThinLTO #133250 ThinLTO summary writing is instead done by
llvm_optimize
.I noticed that I forgot to remove this in Rework how the codegen coordinator code handles the allocator shim #145955 while it was already being tested.