[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 11 11:35:03 PDT 2003
Changes in directory llvm/tools/gccas:
gccas.cpp updated: 1.71 -> 1.72
---
Log message:
Move the -indvars pass much later to where it is more likely to do good stuff
---
Diffs of the changes:
Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.71 llvm/tools/gccas/gccas.cpp:1.72
--- llvm/tools/gccas/gccas.cpp:1.71 Mon Sep 1 15:45:46 2003
+++ llvm/tools/gccas/gccas.cpp Thu Sep 11 11:34:07 2003
@@ -60,7 +60,6 @@
addPass(PM, createInstructionCombiningPass()); // Combine silly seq's
- addPass(PM, createIndVarSimplifyPass()); // Simplify indvars
addPass(PM, createReassociatePass()); // Reassociate expressions
addPass(PM, createInstructionCombiningPass()); // Combine silly seq's
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
@@ -72,6 +71,7 @@
// Run instcombine after redundancy elimination to exploit opportunities
// opened up by them.
addPass(PM, createInstructionCombiningPass());
+ addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
addPass(PM, createAggressiveDCEPass()); // SSA based 'Aggressive DCE'
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
addPass(PM, createDeadTypeEliminationPass()); // Eliminate dead types
More information about the llvm-commits
mailing list