diff options
author | Nate Begeman <natebegeman@mac.com> | 2006-08-02 05:29:40 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2006-08-02 05:29:40 +0000 |
commit | 8f74680c78b1913fa280637e9f626d0d70f918ed (patch) | |
tree | 34593b113fc76dfa5990b30ff3b190ea3f05dc0b | |
parent | f9ba401bf5eddc5ca6282766682116e922f092d7 (diff) | |
download | external_llvm-8f74680c78b1913fa280637e9f626d0d70f918ed.zip external_llvm-8f74680c78b1913fa280637e9f626d0d70f918ed.tar.gz external_llvm-8f74680c78b1913fa280637e9f626d0d70f918ed.tar.bz2 |
Disable LSR at -fast
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29467 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 69e651f..90175ac 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -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()); |