This patch enables passing options to SimplifyCFGPass via the passes pipeline.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D60675
[NewPM] Add Option handling for SimplifyCFG ClosedPublic Authored by skatkov on Apr 14 2019, 10:47 PM.
Details Summary This patch enables passing options to SimplifyCFGPass via the passes pipeline.
Diff Detail Event Timeline
This revision is now accepted and ready to land.Apr 14 2019, 11:26 PM Closed by commit rL358379: [NewPM] Add Option handling for SimplifyCFG (authored by skatkov). · Explain WhyApr 15 2019, 1:59 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 195095 lib/Passes/PassBuilder.cpp
lib/Passes/PassRegistry.def
test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table.ll
test/Transforms/SimplifyCFG/CoveredLookupTable.ll
test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll
test/Transforms/SimplifyCFG/X86/switch-covered-bug.ll
test/Transforms/SimplifyCFG/X86/switch-table-bug.ll
test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
test/Transforms/SimplifyCFG/branch-fold-threshold.ll
test/Transforms/SimplifyCFG/multiple-phis.ll
test/Transforms/SimplifyCFG/no-md-sink.ll
test/Transforms/SimplifyCFG/preserve-llvm-loop-metadata.ll
test/Transforms/SimplifyCFG/rangereduce.ll
test/Transforms/SimplifyCFG/sink-common-code.ll
test/Transforms/SimplifyCFG/switch_undef.ll
|
I believe you do not want to allow "no-" prefix for this option.
Add Enable to condition?