[PATCH] D38631: [SimplifyCFG] use pass options and remove the latesimplifycfg pass
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 10:50:39 PDT 2017
spatel updated this revision to Diff 119899.
spatel added a comment.
Patch updated:
1. We have another option intended to limit simplifycfg around switches early in the pipeline with https://reviews.llvm.org/rL316298.
2. Fixed the new pass manager code to continue to create latesimplifycfg-equivalent passes because this patch is NFCI. I created a phase ordering test for both PMs (it's based on the example from https://reviews.llvm.org/D35411) to show the bug and added it with https://reviews.llvm.org/rL316351.
https://reviews.llvm.org/D38631
Files:
include/llvm-c/Transforms/Scalar.h
include/llvm/InitializePasses.h
include/llvm/LinkAllPasses.h
include/llvm/Transforms/Scalar.h
include/llvm/Transforms/Scalar/SimplifyCFG.h
include/llvm/Transforms/Utils/Local.h
lib/LTO/LTOCodeGenerator.cpp
lib/Passes/PassBuilder.cpp
lib/Passes/PassRegistry.def
lib/Target/AArch64/AArch64TargetMachine.cpp
lib/Target/ARM/ARMTargetMachine.cpp
lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Scalar/Scalar.cpp
lib/Transforms/Scalar/SimplifyCFGPass.cpp
test/CodeGen/AArch64/cmpxchg-idioms.ll
test/Transforms/LoopVectorize/X86/float-induction-x86.ll
test/Transforms/LoopVectorize/float-induction.ll
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/multiple-phis.ll
test/Transforms/SimplifyCFG/preserve-llvm-loop-metadata.ll
test/Transforms/SimplifyCFG/rangereduce.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38631.119899.patch
Type: text/x-patch
Size: 38513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171023/74200594/attachment.bin>
More information about the llvm-commits
mailing list