diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-07-01 18:05:03 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-07-01 18:05:03 +0000 |
commit | 4576f6d7a9c0f2c6a3b6c5d4d8a3063bbf763ae5 (patch) | |
tree | a690f1ae281e93b319feae2d94150ea71278ec4f /lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | |
parent | ebffb660a68384dd8b5e2ff36d68e94a3920611b (diff) | |
download | external_llvm-4576f6d7a9c0f2c6a3b6c5d4d8a3063bbf763ae5.zip external_llvm-4576f6d7a9c0f2c6a3b6c5d4d8a3063bbf763ae5.tar.gz external_llvm-4576f6d7a9c0f2c6a3b6c5d4d8a3063bbf763ae5.tar.bz2 |
Do not use computationally expensive scheduling heuristics with -fast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 40c26c2..8a1dade 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/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()); |