From: Nadav Rotem Date: Fri, 14 Dec 2012 01:57:00 +0000 (+0000) Subject: revert r170166 - disable the loop vectorizer. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3a3c9fdd515ca265121fd07d7a57b1c268cf020;p=platform%2Fupstream%2Fllvm.git revert r170166 - disable the loop vectorizer. llvm-svn: 170172 --- diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp index 7351183..a9a9f2e 100644 --- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/llvm/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 (true && OptLevel > 1) + if (LoopVectorize && OptLevel > 1) MPM.add(createLoopVectorizePass()); if (!DisableUnrollLoops)