commit | 04b116e08eefe1ddd4a719889f136c624ee5914e | [log] [tgz] |
---|---|---|
author | Nadav Rotem <nrotem@apple.com> | Tue Dec 18 06:37:12 2012 +0000 |
committer | Nadav Rotem <nrotem@apple.com> | Tue Dec 18 06:37:12 2012 +0000 |
tree | 0427aee5f2dcb4b8f6aefe3dbdfc46f6d135a2a4 | |
parent | aaf3b420b7bc35e52501cc0398dcc294040e7523 [diff] [blame] |
Enable the loop vectorizer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170416 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/IPO/PassManagerBuilder.cpp b/lib/Transforms/IPO/PassManagerBuilder.cpp index a9a9f2e..7351183 100644 --- a/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -188,7 +188,7 @@ MPM.add(createLoopIdiomPass()); // Recognize idioms like memset. MPM.add(createLoopDeletionPass()); // Delete dead loops - if (LoopVectorize && OptLevel > 1) + if (true && OptLevel > 1) MPM.add(createLoopVectorizePass()); if (!DisableUnrollLoops)