summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-07-01 18:05:03 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-07-01 18:05:03 +0000
commit2c9773155a7d75dc3d7ae44d2c3aa2db06779e7f (patch)
treeb2f01c9fc3762f2ce70a3563e5a41b48cfae9674 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
parentfb2573554cf97a7d2a59ab72e0d3051751253e6e (diff)
downloadbcm5719-llvm-2c9773155a7d75dc3d7ae44d2c3aa2db06779e7f.tar.gz
bcm5719-llvm-2c9773155a7d75dc3d7ae44d2c3aa2db06779e7f.zip
Do not use computationally expensive scheduling heuristics with -fast.
llvm-svn: 52971
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
index 40c26c290c4..8a1dade30b3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
@@ -548,7 +548,7 @@ void LatencyPriorityQueue::AdjustPriorityOfUnscheduledPreds(SUnit *SU) {
/// recognizer and deletes it when done.
ScheduleDAG* llvm::createTDListDAGScheduler(SelectionDAGISel *IS,
SelectionDAG *DAG,
- MachineBasicBlock *BB) {
+ MachineBasicBlock *BB, bool Fast) {
return new ScheduleDAGList(*DAG, BB, DAG->getTarget(),
new LatencyPriorityQueue(),
IS->CreateTargetHazardRecognizer());
OpenPOWER on IntegriCloud