diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-06 00:20:10 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-06 00:20:10 +0000 |
commit | 2f51e1f35356d8e88e1edd6b1fa693e69ec1105d (patch) | |
tree | 2aed5509199c1c3c0fb8d3b130440dc5dae239e7 /lib/CodeGen/MachineInstr.cpp | |
parent | 192197a05130ad14241b9b9e8c0430ade25f56dc (diff) | |
download | external_llvm-2f51e1f35356d8e88e1edd6b1fa693e69ec1105d.zip external_llvm-2f51e1f35356d8e88e1edd6b1fa693e69ec1105d.tar.gz external_llvm-2f51e1f35356d8e88e1edd6b1fa693e69ec1105d.tar.bz2 |
Fix a broken doxygen comment, and reword it for clarity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | lib/CodeGen/MachineInstr.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 1275909..135718a 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -553,8 +553,9 @@ int MachineInstr::findRegisterUseOperandIdx(unsigned Reg, bool isKill, } /// findRegisterDefOperandIdx() - Returns the operand index that is a def of -/// the specific register or -1 if it is not found. It further tightening - /// the search criteria to a def that is dead the register if isDead is true. +/// the specified register or -1 if it is not found. If isDead is true, defs +/// that are not dead are skipped. If TargetRegisterInfo is non-null, then it +/// also checks if there is a def of a super-register. int MachineInstr::findRegisterDefOperandIdx(unsigned Reg, bool isDead, const TargetRegisterInfo *TRI) const { for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { |