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 | f1257594b5c1f7a9090e7e02f0eed2094a99e7f7 (patch) | |
tree | 204b28d198e6620c94b76242f122216d1002d926 /llvm/tools/gccas | |
parent | 8fdf75cde50bbac349221429bfb4c09baacfa649 (diff) | |
download | bcm5719-llvm-f1257594b5c1f7a9090e7e02f0eed2094a99e7f7.tar.gz bcm5719-llvm-f1257594b5c1f7a9090e7e02f0eed2094a99e7f7.zip |
Reassociate now works
llvm-svn: 4472
Diffstat (limited to 'llvm/tools/gccas')
-rw-r--r-- | llvm/tools/gccas/gccas.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/tools/gccas/gccas.cpp b/llvm/tools/gccas/gccas.cpp index 8d8950e29b5..31f7e6e813b 100644 --- a/llvm/tools/gccas/gccas.cpp +++ b/llvm/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 |