projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9ba401
)
Disable LSR at -fast
author
Nate Begeman
<natebegeman@mac.com>
Wed, 2 Aug 2006 05:29:40 +0000
(
05:29
+0000)
committer
Nate Begeman
<natebegeman@mac.com>
Wed, 2 Aug 2006 05:29:40 +0000
(
05:29
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29467
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86TargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86TargetMachine.cpp
b/lib/Target/X86/X86TargetMachine.cpp
index 69e651f9954ad933680601249f509be6b8291a73..90175acd1d619de77219bd95ff0e6f327cf7054d 100644
(file)
--- 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());