[llvm-commits] CVS: llvm/tools/gccas/gccas.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 6 19:20:05 PST 2005
Changes in directory llvm/tools/gccas:
gccas.cpp updated: 1.108 -> 1.109
---
Log message:
move the reassociation pass after the LICM pass. This speeds up mgrid
from 10.27s to 9.57s with the CBE.
---
Diffs of the changes: (+2 -2)
gccas.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/tools/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.108 llvm/tools/gccas/gccas.cpp:1.109
--- llvm/tools/gccas/gccas.cpp:1.108 Sat Jan 22 11:36:16 2005
+++ llvm/tools/gccas/gccas.cpp Sun Mar 6 21:19:50 2005
@@ -103,12 +103,12 @@
addPass(PM, createScalarReplAggregatesPass()); // Break up aggregate allocas
addPass(PM, createInstructionCombiningPass()); // Combine silly seq's
- addPass(PM, createReassociatePass()); // Reassociate expressions
addPass(PM, createInstructionCombiningPass()); // Combine silly seq's
addPass(PM, createTailCallEliminationPass()); // Eliminate tail calls
addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs
addPass(PM, createLICMPass()); // Hoist loop invariants
- addPass(PM, createInstructionCombiningPass()); // Clean up after the unroller
+ addPass(PM, createReassociatePass()); // Reassociate expressions
+ addPass(PM, createInstructionCombiningPass()); // Clean up after LICM/reassoc
addPass(PM, createIndVarSimplifyPass()); // Canonicalize indvars
addPass(PM, createLoopUnrollPass()); // Unroll small loops
addPass(PM, createInstructionCombiningPass()); // Clean up after the unroller
More information about the llvm-commits
mailing list