From 8fd64a5e27bba6f8d1b87682beb6639d1223556d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 3 Nov 2009 07:49:22 +0000 Subject: [PATCH] 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 --- include/llvm/Support/StandardPasses.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h index 843f2ed598d..6a79b5d0fd3 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