summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-10-29 18:01:14 +0000
committerNadav Rotem <nrotem@apple.com>2012-10-29 18:01:14 +0000
commit39aab03be333b828708d1b97fb11ce8623d41f4a (patch)
tree1cc86f721d20ad11e91958cee7fc5c1c9603461c /llvm/lib/Transforms
parentad0b69fe3ec570779c4e7f4ef833d568d1d41096 (diff)
downloadbcm5719-llvm-39aab03be333b828708d1b97fb11ce8623d41f4a.tar.gz
bcm5719-llvm-39aab03be333b828708d1b97fb11ce8623d41f4a.zip
Rename the BB-vectorize flag to match the dragonegg name
llvm-svn: 166948
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/PassManagerBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
index 2b16e20e563..27aa1a4afa3 100644
--- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -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)
OpenPOWER on IntegriCloud