[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Oct 23 13:27:16 PDT 2003
Changes in directory llvm/tools/gccas:
gccas.cpp updated: 1.82 -> 1.83
---
Log message:
Turn on the IPCP pass by default. It has passed all of the tests
---
Diffs of the changes: (+4 -0)
Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.82 llvm/tools/gccas/gccas.cpp:1.83
--- llvm/tools/gccas/gccas.cpp:1.82 Mon Oct 20 12:58:41 2003
+++ llvm/tools/gccas/gccas.cpp Thu Oct 23 13:25:53 2003
@@ -56,8 +56,12 @@
PM.add(createVerifierPass()); // Verify that input is correct
addPass(PM, createLowerSetJmpPass()); // Lower llvm.setjmp/.longjmp
addPass(PM, createFunctionResolvingPass()); // Resolve (...) functions
+ addPass(PM, createCFGSimplificationPass()); // Clean up disgusting code
addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst
addPass(PM, createGlobalDCEPass()); // Remove unused globals
+ addPass(PM, createIPConstantPropagationPass());// IP Constant Propagation
+ addPass(PM, createDeadArgEliminationPass()); // Dead argument elimination
+
addPass(PM, createPruneEHPass()); // Remove dead EH info
if (!DisableInline)
More information about the llvm-commits
mailing list