Rename the BB-vectorize flag to match the dragonegg name
authorNadav Rotem <nrotem@apple.com>
Mon, 29 Oct 2012 18:01:14 +0000 (18:01 +0000)
committerNadav Rotem <nrotem@apple.com>
Mon, 29 Oct 2012 18:01:14 +0000 (18:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166948 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/IPO/PassManagerBuilder.h
lib/Transforms/IPO/PassManagerBuilder.cpp

index 68557bd5f67e5022864c900ac844169cb5ac9782..3ea0a427200d1a73af814b43374a88c644bee992 100644 (file)
@@ -103,7 +103,7 @@ public:
   bool DisableSimplifyLibCalls;
   bool DisableUnitAtATime;
   bool DisableUnrollLoops;
-  bool BBVectorize;
+  bool Vectorize;
   bool LoopVectorize;
 
 private:
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)