This patch enables passing options to SimpleLoopUnswitch via the passes pipeline.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D60676
[NewPM] Add Option handling for SimpleLoopUnswitch ClosedPublic Authored by skatkov on Apr 15 2019, 1:17 AM.
Details Summary This patch enables passing options to SimpleLoopUnswitch via the passes pipeline.
Diff Detail Event Timelinefedor.sergeev added inline comments. This revision now requires changes to proceed.Apr 17 2019, 10:40 PM skatkov added inline comments.
This revision now requires changes to proceed.Apr 21 2019, 7:23 AM This revision is now accepted and ready to land.Apr 22 2019, 2:36 AM Closed by commit rL358880: [NewPM] Add Option handling for SimpleLoopUnswitch (authored by skatkov). · Explain WhyApr 22 2019, 3:34 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 195708 lib/Passes/PassBuilder.cpp
lib/Passes/PassRegistry.def
test/Transforms/SimpleLoopUnswitch/delete-dead-blocks.ll
test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested.ll
test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested2.ll
test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch.ll
test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch2.ll
test/Transforms/SimpleLoopUnswitch/exponential-switch-unswitch.ll
test/Transforms/SimpleLoopUnswitch/guards.ll
test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-cost.ll
test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll
test/Transforms/SimpleLoopUnswitch/update-scev.ll
|
can we make it "nontrivial" without a dash?
Otherwise no-non-trivial looks too weird...