Uh oh!
There was an error while loading. Please reload this page.
Sandwich MIR optimizations between DSE. - #119672
Conversation
cjgillot
commented
Jan 6, 2024
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
bors
commented
Jan 6, 2024
Sandwich MIR optimizations between DSE. This PR reorders MIR optimization passes in an attempt to increase their efficiency. - Stop running CopyProp before GVN, it's useless as GVN will do the same thing anyway. Instead, we perform CopyProp at the end of the pipeline, to ensure we do not emit copy/move chains. - Run DSE before GVN, as it increases the probability to have single-assignment locals. - Run DSE after the final CopyProp to turn copies into moves. r? `@ghost`
This comment has been minimized.
This comment has been minimized.
bors
commented
Jan 6, 2024
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Jan 6, 2024
Finished benchmarking commit (da2b34d): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never 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.
CyclesResultsThis 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.
Binary sizeResultsThis 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.
Bootstrap: 668.367s -> 667.451s (-0.14%) |
bors
commented
Jan 9, 2024
☔ The latest upstream changes (presumably #119767) made this pull request unmergeable. Please resolve the merge conflicts. |
bors
commented
Jan 11, 2024
☔ The latest upstream changes (presumably #119677) made this pull request unmergeable. Please resolve the merge conflicts. |
The full pass is run short after.
cjgillot
commented
Jan 12, 2024
Now that #119677 is merged. |
This comment has been minimized.
This comment has been minimized.
bors
commented
Jan 12, 2024
Sandwich MIR optimizations between DSE. This PR reorders MIR optimization passes in an attempt to increase their efficiency. - Stop running CopyProp before GVN, it's useless as GVN will do the same thing anyway. Instead, we perform CopyProp at the end of the pipeline, to ensure we do not emit copy/move chains. - Run DSE before GVN, as it increases the probability to have single-assignment locals. - Run DSE after the final CopyProp to turn copies into moves. r? `@ghost`
bors
commented
Jan 12, 2024
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
rust-timer
commented
Jan 13, 2024
Finished benchmarking commit (cc8825e): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never 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.
CyclesResultsThis 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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 666.309s -> 663.818s (-0.37%) |
rustbot
commented
Jan 13, 2024
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
cjgillot
commented
Jan 13, 2024
Perf results: we get some nice speedups, near 2% for cargo, clap & ripgrep, which confirm the earlier perf run. On average, small improvements and small regressions balance out. |
oli-obk
commented
Jan 15, 2024
@bors r+ |
bors
commented
Jan 15, 2024
bors
commented
Jan 16, 2024
Sandwich MIR optimizations between DSE. This PR reorders MIR optimization passes in an attempt to increase their efficiency. - Stop running CopyProp before GVN, it's useless as GVN will do the same thing anyway. Instead, we perform CopyProp at the end of the pipeline, to ensure we do not emit copy/move chains. - Run DSE before GVN, as it increases the probability to have single-assignment locals. - Run DSE after the final CopyProp to turn copies into moves. r? `@ghost`
bors
commented
Jan 16, 2024
💥 Test timed out |
rust-log-analyzer
commented
Jan 16, 2024
oli-obk
commented
Jan 16, 2024
@bors retry apple builder timeout |
bors
commented
Jan 16, 2024
bors
commented
Jan 16, 2024
☀️ Test successful - checks-actions |
rust-timer
commented
Jan 16, 2024
Finished benchmarking commit (fa0dc20): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @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.
CyclesResultsThis 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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 666.062s -> 664.881s (-0.18%) |
lqd
commented
Jan 16, 2024
As seen in the previous runs: some nice wins on bigger benchmarks, and overall gains outweigh the few losses. @rustbot label: +perf-regression-triaged |
This PR reorders MIR optimization passes in an attempt to increase their efficiency.
r? @ghost