aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-03 07:49:22 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-03 07:49:22 +0000
commit8fd64a5e27bba6f8d1b87682beb6639d1223556d (patch)
tree683050313a802d3a19f3e7da09fad4210d0ea5bb /include
parent42543b7b736c9304b4877148943ff8a5fee3c22b (diff)
downloadexternal_llvm-8fd64a5e27bba6f8d1b87682beb6639d1223556d.zip
external_llvm-8fd64a5e27bba6f8d1b87682beb6639d1223556d.tar.gz
external_llvm-8fd64a5e27bba6f8d1b87682beb6639d1223556d.tar.bz2
Speculatively redisable IPSCCP, I think its still breaking things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/StandardPasses.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h
index 843f2ed..6a79b5d 100644
--- a/include/llvm/Support/StandardPasses.h
+++ b/include/llvm/Support/StandardPasses.h
@@ -99,7 +99,8 @@ namespace llvm {
if (UnitAtATime) {
PM->add(createGlobalOptimizerPass()); // Optimize out global vars
- PM->add(createIPSCCPPass()); // IP SCCP
+ PM->add(createIPConstantPropagationPass()); // IP CP
+// PM->add(createIPSCCPPass()); // IP SCCP
PM->add(createDeadArgEliminationPass()); // Dead argument elimination
}
PM->add(createInstructionCombiningPass()); // Clean up after IPCP & DAE