Revert "Rollup merge of #154344 - dianqk:update-llvm, r=nikic"#154470
Revert "Rollup merge of #154344 - dianqk:update-llvm, r=nikic"#154470Kobzol wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Revert "Rollup merge of #154344 - dianqk:update-llvm, r=nikic"
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (6c20012): comparison URL. Overall result: ✅ improvements - 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 countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (secondary 7.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -2.3%, secondary -3.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 485.109s -> 484.795s (-0.06%) |
|
r? @cuviper rustbot has assigned @cuviper. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
|
|
My first guess would be llvm/llvm-project@4dfb4b6. If that's the case, backporting llvm/llvm-project#186723 should fix it. |
PR: #154484 |
|
Hm, it looks like that fixes part of the regression, but not all of it... |
The other part is being reverted: #154468. |
|
Yeah, I think that between this PR and #154200, the perf. hit should be mostly gone. Should we r+ this, or do you want to wait for some LLVM update? |
|
What I meant is that the perf run on this PR and on #154484 don't have the same result. In particular this one has -5% on large-workspace, but the other one doesn't. So it seems like there may be another regression in the LLVM update? Or am I misinterpreting something here? |
|
Yeah, I assume that there are other LLVM regressions that the one that was attempted in #154484. I'd thus suggest to land this revert, as the regressions are quite big on a bunch of real-world crates, and then re-land the LLVM changes incrementally, while doing perf. runs on them to ensure that the regression is not presnet. |
|
I put up #154511 to fully revert the FastISel change. It is solely responsible for the regression. Looks like the mitigation from llvm/llvm-project#186723 only partially mitigated the impact of that change. |
|
☔ The latest upstream changes (presumably #154511) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Superseded by #154511. |
View all comments
This reverts commit d0fcb41, reversing
changes made to 85ddb8e.
Debugging perf. hit from #154384.
Seems like this PR caused some large perf. regressiosn in #154384 :(
CC @dianqk