diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-31 17:13:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-31 17:13:11 +0000 |
commit | 52af630b243b765ed49fff130f545f6c7a906049 (patch) | |
tree | d5c0bb8715ad329ab5518be78eaa6a2a6880c054 /tools/gccas/gccas.cpp | |
parent | e4b730441dab4aff9a69aeddbdea98990e7703c4 (diff) |
Reassociate now works
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4472 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/gccas.cpp')
-rw-r--r-- | tools/gccas/gccas.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 8d8950e29b..31f7e6e813 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -75,9 +75,8 @@ void AddConfiguredTransformationPasses(PassManager &PM) { addPass(PM, createRaisePointerReferencesPass(TD));// Recover type information addPass(PM, createInstructionCombiningPass()); // Combine silly seq's addPass(PM, createPromoteMemoryToRegister()); // Promote alloca's to regs - // Disabling until this is fixed -- Vikram, 7/7/02. - // addPass(PM, createReassociatePass()); // Reassociate expressions - addPass(PM, createCorrelatedExpressionEliminationPass()); + addPass(PM, createReassociatePass()); // Reassociate expressions + addPass(PM, createCorrelatedExpressionEliminationPass());// Kill corr branches addPass(PM, createInstructionCombiningPass()); // Combine silly seq's addPass(PM, createCFGSimplificationPass()); // Merge & remove BBs addPass(PM, createLICMPass()); // Hoist loop invariants |