-
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
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 |
b075ea9
to
fbaf55f
Compare
This comment has been minimized.
This comment has been minimized.
It is only used within cg_llvm.
It is always false nowadays. ThinLTO summary writing is instead done by llvm_optimize.
fbaf55f
to
3a1ae06
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. |
@rustbot ready |
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.
LGTM. Thanks! r=me
r? dianqk
@bors r=dianqk |
@rust-timer build d2c3e34 |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (d2c3e34): comparison URL. Overall result: no relevant changes - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. 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: 467.642s -> 468.134s (0.11%) |
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
.