git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170470
91177308-0d34-0410-b5e6-
96231b3b80d8
MPM.add(createLoopIdiomPass()); // Recognize idioms like memset.
MPM.add(createLoopDeletionPass()); // Delete dead loops
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)
MPM.add(createLoopVectorizePass());
if (!DisableUnrollLoops)