From: Nadav Rotem Date: Fri, 14 Dec 2012 00:30:34 +0000 (+0000) Subject: Enable the loop vectorizer. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=44a71c4575956ce1727df2e1d2fc03fce87fd11b;p=oota-llvm.git Enable the loop vectorizer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170166 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/PassManagerBuilder.cpp b/lib/Transforms/IPO/PassManagerBuilder.cpp index a9a9f2eeceb..73511838d43 100644 --- a/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -188,7 +188,7 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) { 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)