Yes, we REALLY DO want to run the reassociate pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-06-30 16:19:14 +00:00
parent f59391ab9e
commit b4aef1746a

View File

@ -65,7 +65,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) {
addPass(PM, createRaisePointerReferencesPass());// Eliminate casts
addPass(PM, createPromoteMemoryToRegister()); // Promote alloca's to regs
/* addPass(PM, createReassociatePass());*/ // Reassociate expressions
addPass(PM, createReassociatePass()); // Reassociate expressions
addPass(PM, createInstructionCombiningPass()); // Combine silly seq's
addPass(PM, createDeadInstEliminationPass()); // Kill InstCombine remnants
addPass(PM, createLICMPass()); // Hoist loop invariants
@ -88,7 +88,7 @@ int main(int argc, char **argv) {
// Parse the file now...
M.reset(ParseAssemblyFile(InputFilename));
} catch (const ParseException &E) {
cerr << E.getMessage() << std::endl;
cerr << E.getMessage() << "\n";
return 1;
}