Disable LSR at -fast

llvm-svn: 29467
This commit is contained in:
Nate Begeman 2006-08-02 05:29:40 +00:00
parent 38b6e8382a
commit d573cc7938
1 changed files with 1 additions and 1 deletions

View File

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