aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-02 19:31:10 +0000
committerChris Lattner <sabre@nondot.org>2009-11-02 19:31:10 +0000
commit3774c91854bcbfddb8c1b01b41841984d2c7ed32 (patch)
treebbb64b614f666aadf320f3f3f706ae98ac4e5b1c /include/llvm
parentd442ab87b38a5e1359490edb78102ffc3e742017 (diff)
downloadexternal_llvm-3774c91854bcbfddb8c1b01b41841984d2c7ed32.zip
external_llvm-3774c91854bcbfddb8c1b01b41841984d2c7ed32.tar.gz
external_llvm-3774c91854bcbfddb8c1b01b41841984d2c7ed32.tar.bz2
revert r8579[56], which are causing unhappiness in buildbot land.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Support/StandardPasses.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h
index 843f2ed..86065a0 100644
--- a/include/llvm/Support/StandardPasses.h
+++ b/include/llvm/Support/StandardPasses.h
@@ -99,6 +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(createDeadArgEliminationPass()); // Dead argument elimination
}