diff options
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index ffe6b9c..aa93bba 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -1812,7 +1812,7 @@ void RegReductionPQBase::ScheduledNode(SUnit *SU) { if (!SU->getNode()) return; - + for (SUnit::pred_iterator I = SU->Preds.begin(), E = SU->Preds.end(); I != E; ++I) { if (I->isCtrl()) @@ -1880,7 +1880,7 @@ void RegReductionPQBase::UnscheduledNode(SUnit *SU) { const SDNode *N = SU->getNode(); if (!N) return; - + if (!N->isMachineOpcode()) { if (N->getOpcode() != ISD::CopyToReg) return; |