diff options
| author | Dan Gohman <gohman@apple.com> | 2008-10-25 17:51:24 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-10-25 17:51:24 +0000 |
| commit | 811eed81abbd6bb3a3cd2144e4eeedbd2091dd40 (patch) | |
| tree | 58e91aad89d7793be4873803cf272115f20d38da | |
| parent | 191453174d7379540be69ac836f02db68a5becb8 (diff) | |
| download | bcm5719-llvm-811eed81abbd6bb3a3cd2144e4eeedbd2091dd40.tar.gz bcm5719-llvm-811eed81abbd6bb3a3cd2144e4eeedbd2091dd40.zip | |
SDNodes may have at most one Flag result. Update this comment
to reflect that.
llvm-svn: 58145
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index 6fc4e11b53c..eb0918ed331 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp @@ -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())) |

