[PATCH] D30468: Simplify the CFG after loop pass cleanup.
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 11 18:08:35 PST 2017
davide added inline comments.
================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:665-667
+ // LoopSink (and other loop passes since the last simplifyCFG) might have
+ // resulted in single-entry-single-exit or empty blocks. Clean up the CFG.
+ MPM.add(createCFGSimplificationPass());
----------------
you need to add the equivalent in pass builder (in the new pass manager pipeline).
https://reviews.llvm.org/D30468
More information about the llvm-commits
mailing list