aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-06 00:20:10 +0000
committerDan Gohman <gohman@apple.com>2008-05-06 00:20:10 +0000
commit703bfe69092e8da79fbef2fc5ca07b805ad9f753 (patch)
tree2aed5509199c1c3c0fb8d3b130440dc5dae239e7 /include
parent3f3d95c75a9426ad459462662c312850adf9c095 (diff)
downloadexternal_llvm-703bfe69092e8da79fbef2fc5ca07b805ad9f753.zip
external_llvm-703bfe69092e8da79fbef2fc5ca07b805ad9f753.tar.gz
external_llvm-703bfe69092e8da79fbef2fc5ca07b805ad9f753.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 'include')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index ff64e7e..0c657db 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -184,10 +184,9 @@ public:
}
/// 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.
- /// If TargetRegisterInfo is passed, then it also checks if there is a def of
- /// a super-register.
+ /// 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 findRegisterDefOperandIdx(unsigned Reg, bool isDead = false,
const TargetRegisterInfo *TRI = NULL) const;