projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8234d40
)
Move the optlevel check to the frontend.
author
Nadav Rotem
<nrotem@apple.com>
Thu, 1 Aug 2013 22:41:58 +0000
(22:41 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Thu, 1 Aug 2013 22:41:58 +0000
(22:41 +0000)
llvm-svn: 187628
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
index
5363c91
..
6355204
100644
(file)
--- a/
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
@@
-217,7
+217,7
@@
void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) {
addExtensionsToPM(EP_ScalarOptimizerLate, MPM);
if (!LateVectorize) {
- if (SLPVectorize
&& OptLevel > 2
)
+ if (SLPVectorize)
MPM.add(createSLPVectorizerPass()); // Vectorize parallel scalar chains.
if (BBVectorize) {