Rename the BB-vectorize flag to match the dragonegg name
[oota-llvm.git] / lib / Transforms / IPO / PassManagerBuilder.cpp
index 2b16e20e5638058ca994ddea237c53491f0a777a..27aa1a4afa371ca376d4d1e9cb0b22c4fc21abe0 100644 (file)
@@ -55,7 +55,7 @@ PassManagerBuilder::PassManagerBuilder() {
     DisableSimplifyLibCalls = false;
     DisableUnitAtATime = false;
     DisableUnrollLoops = false;
-    BBVectorize = RunBBVectorization;
+    Vectorize = RunBBVectorization;
     LoopVectorize = RunLoopVectorization;
 }
 
@@ -212,7 +212,7 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) {
 
   addExtensionsToPM(EP_ScalarOptimizerLate, MPM);
 
-  if (BBVectorize) {
+  if (Vectorize) {
     MPM.add(createBBVectorizePass());
     MPM.add(createInstructionCombiningPass());
     if (OptLevel > 1 && UseGVNAfterVectorization)