aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-01-25 18:52:42 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-01-25 18:52:42 +0000
commit0577a22c678bd5e31047e6b8038c6917202271ee (patch)
tree4004b940607d924b7a0f13339e6e3997014ae415 /lib/CodeGen
parentacc398c195a697795bff3245943d104eb19192b9 (diff)
Set SchedulingForLatency to be the default scheduling preference for all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index cffdc0e5c1..1128f74fa6 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -32,6 +32,7 @@ TargetLowering::TargetLowering(TargetMachine &tm)
UseUnderscoreSetJmpLongJmp = false;
IntDivIsCheap = false;
Pow2DivIsCheap = false;
+ SchedPreferenceInfo = SchedulingForLatency;
}
TargetLowering::~TargetLowering() {}