[PATCH] D13064: Add CFG Simplification pass after Loop Unswitching.
Michael Zolotukhin via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 21:01:10 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248460: Add CFG Simplification pass after Loop Unswitching. (authored by mzolotukhin).
Changed prior to commit:
http://reviews.llvm.org/D13064?vs=35401&id=35583#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13064
Files:
llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
Index: llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
===================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -260,6 +260,7 @@
MPM.add(createLoopRotatePass(SizeLevel == 2 ? 0 : -1));
MPM.add(createLICMPass()); // Hoist loop invariants
MPM.add(createLoopUnswitchPass(SizeLevel || OptLevel < 3));
+ MPM.add(createCFGSimplificationPass());
MPM.add(createInstructionCombiningPass());
MPM.add(createIndVarSimplifyPass()); // Canonicalize indvars
MPM.add(createLoopIdiomPass()); // Recognize idioms like memset.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13064.35583.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150924/00b9f0dc/attachment.bin>
More information about the llvm-commits
mailing list