From 1b8e745ffe68d4d9107d9b910f1f2c5892362b4c Mon Sep 17 00:00:00 2001 From: "james.brodman" Date: Mon, 28 Oct 2013 16:36:59 -0400 Subject: [PATCH] remove condition. Don't use gcc 4.7 for tests. --- opt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opt.cpp b/opt.cpp index 59f00538..e585d6c1 100644 --- a/opt.cpp +++ b/opt.cpp @@ -550,11 +550,11 @@ Optimize(llvm::Module *module, int optLevel) { optPM.add(llvm::createGlobalOptimizerPass()); optPM.add(llvm::createReassociatePass()); optPM.add(llvm::createIPConstantPropagationPass()); - if (g->target->getISA() != Target::GENERIC) { + // if (g->target->getISA() != Target::GENERIC) { // Just use the builtins for generic targets. optPM.add(CreateReplaceStdlibShiftPass(),229); - } + // } optPM.add(llvm::createDeadArgEliminationPass(),230); optPM.add(llvm::createInstructionCombiningPass()); optPM.add(llvm::createCFGSimplificationPass());