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:
c7e4e6e
)
IPSCCP apparently is not a superset of IPCP, this is bad,
author
Chris Lattner
<sabre@nondot.org>
Sun, 1 Nov 2009 19:29:12 +0000
(19:29 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 1 Nov 2009 19:29:12 +0000
(19:29 +0000)
but I'll investigate it separately. This unbreaks
test/FrontendC/weak_constant.c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85735
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 ff0a6d699178f7759c3bf1638fc8030eb16c5838..ffa93149af8ed40ce068bf5befda968a1d82815b 100644
(file)
--- a/
include/llvm/Support/StandardPasses.h
+++ b/
include/llvm/Support/StandardPasses.h
@@
-100,6
+100,7
@@
namespace llvm {
if (UnitAtATime) {
PM->add(createGlobalOptimizerPass()); // Optimize out global vars
+ PM->add(createIPConstantPropagationPass()); // IP CP
PM->add(createIPSCCPPass()); // IP SCCP
PM->add(createDeadArgEliminationPass()); // Dead argument elimination
}