aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-03 19:35:13 +0000
committerChris Lattner <sabre@nondot.org>2009-11-03 19:35:13 +0000
commitfde2da47de8fc925028df323c2f5da3323eee9f9 (patch)
tree884bfe56e5de08096d336c5d1b6149343e0c5501 /include
parent2396cc37ae6f29693b0984e0d9129487a4e3830c (diff)
downloadexternal_llvm-fde2da47de8fc925028df323c2f5da3323eee9f9.zip
external_llvm-fde2da47de8fc925028df323c2f5da3323eee9f9.tar.gz
external_llvm-fde2da47de8fc925028df323c2f5da3323eee9f9.tar.bz2
turn IPSCCP back on by default, try #3 or 4? Woo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85929 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/StandardPasses.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h
index a539444..1a6d06b 100644
--- a/include/llvm/Support/StandardPasses.h
+++ b/include/llvm/Support/StandardPasses.h
@@ -99,8 +99,7 @@ namespace llvm {
if (UnitAtATime) {
PM->add(createGlobalOptimizerPass()); // Optimize out global vars
- PM->add(createIPConstantPropagationPass()); // IP CP
-// PM->add(createIPSCCPPass()); // IP SCCP
+ PM->add(createIPSCCPPass()); // IP SCCP
PM->add(createDeadArgEliminationPass()); // Dead argument elimination
}
PM->add(createInstructionCombiningPass()); // Clean up after IPCP & DAE