From b4aef1746adac01e2bd932514a4d5614de4304d0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 30 Jun 2002 16:19:14 +0000 Subject: [PATCH] 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 --- tools/gccas/gccas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index 8b06c3248b3..94584393f00 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -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; }