Source cleanup.

This commit is contained in:
james.brodman
2013-10-28 16:37:33 -04:00
parent 1b8e745ffe
commit 09a6e37154

View File

@@ -550,11 +550,7 @@ Optimize(llvm::Module *module, int optLevel) {
optPM.add(llvm::createGlobalOptimizerPass());
optPM.add(llvm::createReassociatePass());
optPM.add(llvm::createIPConstantPropagationPass());
// if (g->target->getISA() != Target::GENERIC) {
// Just use the builtins for generic targets.
optPM.add(CreateReplaceStdlibShiftPass(),229);
// }
optPM.add(CreateReplaceStdlibShiftPass(),229);
optPM.add(llvm::createDeadArgEliminationPass(),230);
optPM.add(llvm::createInstructionCombiningPass());
optPM.add(llvm::createCFGSimplificationPass());