remove condition. Don't use gcc 4.7 for tests.

This commit is contained in:
james.brodman
2013-10-28 16:36:59 -04:00
parent 6a1952d1f9
commit 1b8e745ffe

View File

@@ -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());