mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
SDNodes may have at most one Flag result. Update this comment
to reflect that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58145 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71b7f646de
commit
048ca55dc1
@ -351,8 +351,8 @@ unsigned ScheduleDAG::CountResults(SDNode *Node) {
|
||||
|
||||
/// CountOperands - The inputs to target nodes have any actual inputs first,
|
||||
/// followed by special operands that describe memory references, then an
|
||||
/// optional chain operand, then flag operands. Compute the number of
|
||||
/// actual operands that will go into the resulting MachineInstr.
|
||||
/// optional chain operand, then an optional flag operand. Compute the number
|
||||
/// of actual operands that will go into the resulting MachineInstr.
|
||||
unsigned ScheduleDAG::CountOperands(SDNode *Node) {
|
||||
unsigned N = ComputeMemOperandsEnd(Node);
|
||||
while (N && isa<MemOperandSDNode>(Node->getOperand(N - 1).getNode()))
|
||||
|
Loading…
Reference in New Issue
Block a user