diff options
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 77e5e76521..88116d2bb2 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -207,9 +207,9 @@ public: /// none is found. int findFirstPredOperandIdx() const; - /// isRegReDefinedByTwoAddr - Returns true if the Reg re-definition is due - /// to two addr elimination. - bool isRegReDefinedByTwoAddr(unsigned Reg) const; + /// isRegReDefinedByTwoAddr - Given the defined register and the operand index, + /// check if the register def is a re-definition due to two addr elimination. + bool isRegReDefinedByTwoAddr(unsigned Reg, unsigned DefIdx) const; /// copyKillDeadInfo - Copies kill / dead operand properties from MI. /// |