diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-30 19:23:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-30 19:23:10 +0000 |
commit | 4dc3535e7a4e76dac68b7ea335526627297db149 (patch) | |
tree | bdaea3cb74725d7896761201eef60d4508aa2ab2 /tools/gccas/gccas.cpp | |
parent | b37923f9a116fe959de1ff93cca173013e35f3da (diff) |
Move indvars pass after mem2reg pass where it is more likely to be useful
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/gccas.cpp')
-rw-r--r-- | tools/gccas/gccas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 1cefa371b6..9d9ab6ac67 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -71,10 +71,10 @@ void AddConfiguredTransformationPasses(PassManager &PM) { addPass(PM, createDeadInstEliminationPass()); // Remove Dead code/vars addPass(PM, createRaiseAllocationsPass()); // call %malloc -> malloc inst addPass(PM, createInstructionCombiningPass()); // Cleanup code for raise - addPass(PM, createIndVarSimplifyPass()); // Simplify indvars addPass(PM, createRaisePointerReferencesPass());// Recover type information addPass(PM, createInstructionCombiningPass()); // Combine silly seq's addPass(PM, createPromoteMemoryToRegister()); // Promote alloca's to regs + addPass(PM, createIndVarSimplifyPass()); // Simplify indvars addPass(PM, createReassociatePass()); // Reassociate expressions //addPass(PM, createCorrelatedExpressionEliminationPass());// Kill corr branches addPass(PM, createInstructionCombiningPass()); // Combine silly seq's |