summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LatencyPriorityQueue.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-17 16:37:30 +0000
committerDan Gohman <gohman@apple.com>2008-11-17 16:37:30 +0000
commit17c226b8ca6b4ac5898e929926180bc19e666669 (patch)
tree6f5f138cccb005899f43677f72065ab201879b8d /llvm/lib/CodeGen/SelectionDAG/LatencyPriorityQueue.cpp
parentecf2bb8724d41a72292b80c88bf35b46ec51a39f (diff)
downloadbcm5719-llvm-17c226b8ca6b4ac5898e929926180bc19e666669.tar.gz
bcm5719-llvm-17c226b8ca6b4ac5898e929926180bc19e666669.zip
Don't use the isPending flag to mean what the isAvailable flag means.
llvm-svn: 59445
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LatencyPriorityQueue.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LatencyPriorityQueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LatencyPriorityQueue.cpp b/llvm/lib/CodeGen/SelectionDAG/LatencyPriorityQueue.cpp
index 6c8edf10ffb..ae73f202685 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LatencyPriorityQueue.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LatencyPriorityQueue.cpp
@@ -150,7 +150,7 @@ void LatencyPriorityQueue::ScheduledNode(SUnit *SU) {
/// scheduled will make this node available, so it is better than some other
/// node of the same priority that will not make a node available.
void LatencyPriorityQueue::AdjustPriorityOfUnscheduledPreds(SUnit *SU) {
- if (SU->isPending) return; // All preds scheduled.
+ if (SU->isAvailable) return; // All preds scheduled.
SUnit *OnlyAvailablePred = getSingleUnscheduledPred(SU);
if (OnlyAvailablePred == 0 || !OnlyAvailablePred->isAvailable) return;
OpenPOWER on IntegriCloud