diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-01 19:29:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-01 19:29:12 +0000 |
commit | 3e54f8850a262fe0c8c7253b4e0ac700566c7365 (patch) | |
tree | be4c2934b36dd5243031cc31608e5f7b7b972152 /include/llvm | |
parent | c7e4e6edc4b020f71375666f913ab0eacc6366c7 (diff) | |
download | external_llvm-3e54f8850a262fe0c8c7253b4e0ac700566c7365.zip external_llvm-3e54f8850a262fe0c8c7253b4e0ac700566c7365.tar.gz external_llvm-3e54f8850a262fe0c8c7253b4e0ac700566c7365.tar.bz2 |
IPSCCP apparently is not a superset of IPCP, this is bad,
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
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Support/StandardPasses.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h index ff0a6d6..ffa9314 100644 --- 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 } |