Turn on ipsccp by default instead of simple IPCP

llvm-svn: 18753
This commit is contained in:
Chris Lattner 2004-12-10 08:03:43 +00:00
parent b439464c61
commit 4a03a2d433
1 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,8 @@ int llvm::GenerateBytecode(Module *M, int StripLevel, bool Internalize,
addPass(Passes, createConstantMergePass());
// Propagate constants at call sites into the functions they call.
addPass(Passes, createIPConstantPropagationPass());
addPass(Passes, createIPSCCPPass());
addPass(Passes, createCFGSimplificationPass());
// Remove unused arguments from functions...
addPass(Passes, createDeadArgEliminationPass());