diff options
-rw-r--r-- | include/llvm/Target/TargetInstrDesc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetInstrDesc.h b/include/llvm/Target/TargetInstrDesc.h index 02616af5fc..8378206bf1 100644 --- a/include/llvm/Target/TargetInstrDesc.h +++ b/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; } |