[llvm-commits] [llvm] r170162 - /llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp

Nadav Rotem nrotem at apple.com
Thu Dec 13 16:02:07 PST 2012


Author: nadav
Date: Thu Dec 13 18:02:07 2012
New Revision: 170162

URL: http://llvm.org/viewvc/llvm-project?rev=170162&view=rev
Log:
Disable the loop vectorizer.

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=170162&r1=170161&r2=170162&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Thu Dec 13 18:02:07 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