[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Apr 23 15:41:01 PDT 2003
Changes in directory llvm/tools/gccas:
gccas.cpp updated: 1.58 -> 1.59
---
Log message:
The new CFrontend generates LOTs of basic blocks that just fall through and do
other funky stuff. Clean it up early.
---
Diffs of the changes:
Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.58 llvm/tools/gccas/gccas.cpp:1.59
--- llvm/tools/gccas/gccas.cpp:1.58 Fri Apr 18 18:38:09 2003
+++ llvm/tools/gccas/gccas.cpp Wed Apr 23 15:40:42 2003
@@ -70,6 +70,7 @@
addPass(PM, createDeadTypeEliminationPass()); // Eliminate dead types
addPass(PM, createConstantMergePass()); // Merge dup global constants
addPass(PM, createVerifierPass()); // Verify that input is correct
+ addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
addPass(PM, createDeadInstEliminationPass()); // Remove Dead code/vars
addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst
addPass(PM, createIndVarSimplifyPass()); // Simplify indvars
More information about the llvm-commits
mailing list