projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50d27ff
)
MachineRegisterInfo: Correct comment
author
Matthias Braun
<matze@braunis.de>
Wed, 9 Mar 2016 18:47:05 +0000
(18:47 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 9 Mar 2016 18:47:05 +0000
(18:47 +0000)
llvm-svn: 263046
llvm/include/llvm/CodeGen/MachineRegisterInfo.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h
b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h
index
cc83850
..
704fb02
100644
(file)
--- a/
llvm/include/llvm/CodeGen/MachineRegisterInfo.h
+++ b/
llvm/include/llvm/CodeGen/MachineRegisterInfo.h
@@
-387,8
+387,8
@@
public:
/// specified register (it may be live-in).
bool def_empty(unsigned RegNo) const { return def_begin(RegNo) == def_end(); }
- ///
hasOneDef - Return true if there is exactly one instruction defining the
- ///
specified
register.
+ ///
Return true if there is exactly one operand defining the specified
+ /// register.
bool hasOneDef(unsigned RegNo) const {
def_iterator DI = def_begin(RegNo);
if (DI == def_end())