aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/CodeGen/MachineOperand.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/CodeGen/MachineOperand.h')
-rw-r--r--llvm/include/llvm/CodeGen/MachineOperand.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineOperand.h b/llvm/include/llvm/CodeGen/MachineOperand.h
index b12351b8a702..f17904d54cdd 100644
--- a/llvm/include/llvm/CodeGen/MachineOperand.h
+++ b/llvm/include/llvm/CodeGen/MachineOperand.h
@@ -99,8 +99,11 @@ private:
unsigned IsImp : 1;
/// IsDeadOrKill
- /// For uses: IsKill - True if this instruction is the last use of the
- /// register on this path through the function.
+ /// For uses: IsKill - Conservatively indicates the last use of a register
+ /// on this path through the function. A register operand with true value of
+ /// this flag must be the last use of the register, a register operand with
+ /// false value may or may not be the last use of the register. After regalloc
+ /// we can use recomputeLivenessFlags to get precise kill flags.
/// For defs: IsDead - True if this register is never used by a subsequent
/// instruction.
/// This is only valid on register operands.