[llvm-commits] [llvm] r170267 - /llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Fri Dec 14 22:11:13 PST 2012
Author: chapuni
Date: Sat Dec 15 00:11:13 2012
New Revision: 170267
URL: http://llvm.org/viewvc/llvm-project?rev=170267&view=rev
Log:
Revert r170246, "Enable the loop vectorizer by default."
Modified:
llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
Modified: llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp?rev=170267&r1=170266&r2=170267&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Sat Dec 15 00:11:13 2012
@@ -188,7 +188,7 @@
MPM.add(createLoopIdiomPass()); // Recognize idioms like memset.
MPM.add(createLoopDeletionPass()); // Delete dead loops
- if (true && OptLevel > 1)
+ if (LoopVectorize && OptLevel > 1)
MPM.add(createLoopVectorizePass());
if (!DisableUnrollLoops)
More information about the llvm-commits
mailing list