Disable LSR at -fast

llvm-svn: 29467
This commit is contained in:
Nate Begeman 2006-08-02 05:29:40 +00:00
parent 1768e89248
commit d22dd0f92b

View File

@ -91,7 +91,7 @@ bool X86TargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &Out,
FileType != TargetMachine::ObjectFile) return true;
// Run loop strength reduction before anything else.
PM.add(createLoopStrengthReducePass(&TLInfo));
if (!Fast) PM.add(createLoopStrengthReducePass(&TLInfo));
// FIXME: Implement efficient support for garbage collection intrinsics.
PM.add(createLowerGCPass());