diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-04-15 04:54:42 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-04-15 04:54:42 +0000 |
commit | a1e5e44eb35c1a3d4a64d34a7c73f3cea0c244d7 (patch) | |
tree | 864da6a4ecdf03b8a8616e4e41ccf73a938e7bab /llvm/lib | |
parent | 5d393c416f86ca92254a61eb384a269030db6458 (diff) | |
download | bcm5719-llvm-a1e5e44eb35c1a3d4a64d34a7c73f3cea0c244d7.tar.gz bcm5719-llvm-a1e5e44eb35c1a3d4a64d34a7c73f3cea0c244d7.zip |
Rename the slp-vectorizer clang/llvm flags. No functionality change.
llvm-svn: 179505
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp index 027a9f2a687..d611bed9168 100644 --- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -33,7 +33,7 @@ RunLoopVectorization("vectorize-loops", cl::desc("Run the Loop vectorization passes")); static cl::opt<bool> -RunBBVectorization("vectorize", cl::desc("Run the BB vectorization passes")); +RunSLPVectorization("vectorize-slp", cl::desc("Run the SLP vectorization passes")); static cl::opt<bool> UseGVNAfterVectorization("use-gvn-after-vectorization", @@ -52,7 +52,7 @@ PassManagerBuilder::PassManagerBuilder() { DisableSimplifyLibCalls = false; DisableUnitAtATime = false; DisableUnrollLoops = false; - Vectorize = RunBBVectorization; + SLPVectorize = RunSLPVectorization; LoopVectorize = RunLoopVectorization; } @@ -207,7 +207,7 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) { addExtensionsToPM(EP_ScalarOptimizerLate, MPM); - if (Vectorize) { + if (SLPVectorize) { MPM.add(createBBVectorizePass()); MPM.add(createInstructionCombiningPass()); if (OptLevel > 1 && UseGVNAfterVectorization) |