projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d754041
)
Don't bother conditionalizing the use of SROA in -O1 mode. We're already running...
author
Owen Anderson
<resistor@mac.com>
Fri, 14 Jan 2011 00:36:40 +0000
(
00:36
+0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 14 Jan 2011 00:36:40 +0000
(
00:36
+0000)
later in the pipeline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123416
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/StandardPasses.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/StandardPasses.h
b/include/llvm/Support/StandardPasses.h
index e2455bee193f4bdae8368c17a1fb0ba7878e41c4..9ef5ff88511ababb73ef92c82dafb60adad3514b 100644
(file)
--- a/
include/llvm/Support/StandardPasses.h
+++ b/
include/llvm/Support/StandardPasses.h
@@
-82,10
+82,7
@@
namespace llvm {
if (OptimizationLevel > 0) {
createStandardAliasAnalysisPasses(PM);
PM->add(createCFGSimplificationPass());
- if (OptimizationLevel == 1)
- PM->add(createPromoteMemoryToRegisterPass());
- else
- PM->add(createScalarReplAggregatesPass());
+ PM->add(createScalarReplAggregatesPass());
PM->add(createInstructionCombiningPass());
}
}