diff options
| -rw-r--r-- | llvm/include/llvm/Target/TargetInstrDesc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/TargetInstrDesc.h b/llvm/include/llvm/Target/TargetInstrDesc.h index 02616af5fcc..8378206bf1b 100644 --- a/llvm/include/llvm/Target/TargetInstrDesc.h +++ b/llvm/include/llvm/Target/TargetInstrDesc.h @@ -159,7 +159,8 @@ public: /// getNumDefs - Return the number of MachineOperands that are register /// definitions. Register definitions always occur at the start of the - /// machine operand list. This is the number of "outs" in the .td file. + /// machine operand list. This is the number of "outs" in the .td file, + /// and does not include implicit defs. unsigned getNumDefs() const { return NumDefs; } |

