-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Revert "Revert "Use ICF (identical code folding) for building rustc"" #99680
Conversation
This reverts commit rust-lang/rust@45575d2, thereby enabling identical code folding again.
(rust-highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup=never |
@@ -195,3 +195,7 @@ rm -r $BUILD_ARTIFACTS/llvm $BUILD_ARTIFACTS/lld | |||
$@ \ | |||
--rust-profile-use=${RUSTC_PROFILE_MERGED_FILE} \ | |||
--llvm-profile-use=${LLVM_PROFILE_MERGED_FILE} | |||
|
|||
echo "Rustc binary size" | |||
ls -la ./build/$PGO_HOST/stage2/bin |
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.
./build/$PGO_HOST/
can be $BUILD_ARTIFACTS
☀️ Test successful - checks-actions |
Finished benchmarking commit (c9b3183): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
Make `[rust] use-lld=true` work on windows Before, it would fail with "error: ignoring unknown argument '-Wl,--icf=all'" This option was introduced in rust-lang#99062 (well, technically rust-lang#99680) See zulip thread: https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/rust-lld.3A.20error.3A.20ignoring.20unknown.20argument.20'-Wl.2C--icf.3Dall'
This reverts commit 45575d2,
thereby enabling identical code folding again.
Closes #99440 (again).