diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-12-10 08:03:43 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-12-10 08:03:43 +0000 |
| commit | 4a03a2d43344affae05207ce8cd2014093e2a0ec (patch) | |
| tree | c7a1b5f073c66f1965512a24dc8d0bf3e43fca13 /llvm/tools | |
| parent | b439464c61b3c0a9074ff1593aa365dcec3a2856 (diff) | |
| download | bcm5719-llvm-4a03a2d43344affae05207ce8cd2014093e2a0ec.tar.gz bcm5719-llvm-4a03a2d43344affae05207ce8cd2014093e2a0ec.zip | |
Turn on ipsccp by default instead of simple IPCP
llvm-svn: 18753
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/gccld/GenerateCode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/gccld/GenerateCode.cpp b/llvm/tools/gccld/GenerateCode.cpp index 84eba1b505b..ee9e42c49d4 100644 --- a/llvm/tools/gccld/GenerateCode.cpp +++ b/llvm/tools/gccld/GenerateCode.cpp @@ -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()); |

