Reassociate now works

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4472 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-31 17:13:11 +00:00
parent e4b730441d
commit 52af630b24

View File

@ -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