[release-1.13] pipeline.cpp: run IRCE after the SimplifyCFG + InstCombine loop cleanup #64018
Approved these changes.
@nanosoldier runbenchmarks()
Uhm, is the bot smart enough to use the target branch as baseline or I should have set it explicitly (how?)? Edit: based on https://github.com/JuliaCI/Nanosoldier.jl/blob/337e360a4a5ca6d9e9b96245ce90e4f3a3be95c6/README.md#trigger-syntax, maybe it is smart enough after all.
The benchmark job you requested has completed - possible performance regressions were detected. 4829 benchmarks were executed, 95 showed regressions, and 87 showed improvements.
Commits: 7a0cdb7 vs 9068e01 (comparing against merge-base of backports-release-1.13)
The full report is available.
<img src=https://github.com/JuliaCI/NanosoldierReports/raw/master/benchmark/by_hash/7a0cdb7_vs_9068e01/summary.png>
Approved these changes.
Maybe rewrite some of the comments here. We normally don't use this structure for conditionally scheduling cleanup passes
I think these comments are taken verbatim from master: https://github.com/JuliaLang/julia/blob/5d5a17617fd94eb9486766bbe821b5b162e83dd8/src/pipeline.cpp#L424-L429
Re-targeting to backports branch.
@giordano @vchuravy @maleadt Can you merge this into the backports branch once it's good to go?
maleadt
giordano
could handle, e.g. in
fill!of views ofFixedSizeArrays inlined in a loop over the slices of an array (JuliaArrays/FixedSizeArrays.jl#200). IRCE now runs after that cleanup (and beforeIndVarSimplify), followed by anothercleanup only for the functions it changed. Also run
SimplifyCFGbetween the late CVP and SLP, as in #63626.Suggested by @vchuravy.