diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-12-01 21:52:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-12-01 21:52:58 +0000 |
commit | ba59a1e453e110f7b84233f07613f9c5d9a39b87 (patch) | |
tree | 91b99b547060bdc60c14f716fc7ed29ba57c3a01 /lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | |
parent | 258ff6726d6c079ec6c5b13e340299cbf7300299 (diff) |
Match TargetInstrInfo changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index 4b36a8fb25..e0a049903c 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp @@ -128,8 +128,7 @@ void ScheduleDAGRRList::CommuteNodesToReducePressure() { unsigned NumRes = CountResults(SU->Node); unsigned NumOps = CountOperands(SU->Node); for (unsigned j = 0; j != NumOps; ++j) { - if (TII->getOperandConstraint(Opc, j+NumRes, - TargetInstrInfo::TIED_TO) == -1) + if (TII->getOperandConstraint(Opc, j+NumRes, TOI::TIED_TO) == -1) continue; SDNode *OpN = SU->Node->getOperand(j).Val; @@ -498,8 +497,7 @@ namespace { unsigned NumRes = ScheduleDAG::CountResults(SU1->Node); unsigned NumOps = ScheduleDAG::CountOperands(SU1->Node); for (unsigned i = 0; i != NumOps; ++i) { - if (TII->getOperandConstraint(Opc, i+NumRes, - TargetInstrInfo::TIED_TO) == -1) + if (TII->getOperandConstraint(Opc, i+NumRes, TOI::TIED_TO) == -1) continue; if (SU1->Node->getOperand(i).isOperand(SU2->Node)) return true; @@ -667,8 +665,7 @@ bool BURegReductionPriorityQueue<SF>::canClobber(SUnit *SU, SUnit *Op) { unsigned NumRes = ScheduleDAG::CountResults(SU->Node); unsigned NumOps = ScheduleDAG::CountOperands(SU->Node); for (unsigned i = 0; i != NumOps; ++i) { - if (TII->getOperandConstraint(Opc, i+NumRes, - TargetInstrInfo::TIED_TO) != -1) { + if (TII->getOperandConstraint(Opc, i+NumRes, TOI::TIED_TO) != -1) { SDNode *DU = SU->Node->getOperand(i).Val; if (Op == (*SUnitMap)[DU]) return true; @@ -698,8 +695,7 @@ void BURegReductionPriorityQueue<SF>::AddPseudoTwoAddrDeps() { unsigned NumRes = ScheduleDAG::CountResults(Node); unsigned NumOps = ScheduleDAG::CountOperands(Node); for (unsigned j = 0; j != NumOps; ++j) { - if (TII->getOperandConstraint(Opc, j+NumRes, - TargetInstrInfo::TIED_TO) != -1) { + if (TII->getOperandConstraint(Opc, j+NumRes, TOI::TIED_TO) != -1) { SDNode *DU = SU->Node->getOperand(j).Val; SUnit *DUSU = (*SUnitMap)[DU]; if (!DUSU) continue; |