MachineRegisterInfo: Correct comment
authorMatthias Braun <matze@braunis.de>
Wed, 9 Mar 2016 18:47:05 +0000 (18:47 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 9 Mar 2016 18:47:05 +0000 (18:47 +0000)
llvm-svn: 263046

llvm/include/llvm/CodeGen/MachineRegisterInfo.h

index cc83850..704fb02 100644 (file)
@@ -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())