[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat May 7 15:45:51 PDT 2005
Changes in directory llvm/tools/gccas:
gccas.cpp updated: 1.113 -> 1.114
---
Log message:
Move licm after reassociate, add some cond-propagate passes
---
Diffs of the changes: (+4 -1)
gccas.cpp | 5 ++++-
1 files changed, 4 insertions(+), 1 deletion(-)
Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.113 llvm/tools/gccas/gccas.cpp:1.114
--- llvm/tools/gccas/gccas.cpp:1.113 Tue Apr 26 21:22:47 2005
+++ llvm/tools/gccas/gccas.cpp Sat May 7 17:45:35 2005
@@ -103,11 +103,12 @@
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
addPass(PM, createScalarReplAggregatesPass()); // Break up aggregate allocas
addPass(PM, createInstructionCombiningPass()); // Combine silly seq's
+ addPass(PM, createCondPropagationPass()); // Propagate conditionals
addPass(PM, createTailCallEliminationPass()); // Eliminate tail calls
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
- addPass(PM, createLICMPass()); // Hoist loop invariants
addPass(PM, createReassociatePass()); // Reassociate expressions
+ addPass(PM, createLICMPass()); // Hoist loop invariants
addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
addPass(PM, createLoopUnrollPass()); // Unroll small loops
@@ -119,6 +120,8 @@
// Run instcombine after redundancy elimination to exploit opportunities
// opened up by them.
addPass(PM, createInstructionCombiningPass());
+ addPass(PM, createCondPropagationPass()); // Propagate conditionals
+
addPass(PM, createDeadStoreEliminationPass()); // Delete dead stores
addPass(PM, createAggressiveDCEPass()); // SSA based 'Aggressive DCE'
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
More information about the llvm-commits
mailing list