diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp b/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp index f73ddfee2b90..e3acb58327a8 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp @@ -492,8 +492,7 @@ bool ScheduleDAGFast::DelayForLiveRegsBottomUp(SUnit *SU,          --NumOps;  // Ignore the glue operand.        for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { -        unsigned Flags = -          cast<ConstantSDNode>(Node->getOperand(i))->getZExtValue(); +        unsigned Flags = Node->getConstantOperandVal(i);          const InlineAsm::Flag F(Flags);          unsigned NumVals = F.getNumOperandRegisters();  | 
