[llvm] r265721 - [TargetRegisterInfo] Fix the comment of SuperRegClassIterator::getMask.

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 14:04:31 PDT 2016


Author: qcolombet
Date: Thu Apr  7 16:04:30 2016
New Revision: 265721

URL: http://llvm.org/viewvc/llvm-project?rev=265721&view=rev
Log:
[TargetRegisterInfo] Fix the comment of SuperRegClassIterator::getMask.

Modified:
    llvm/trunk/include/llvm/Target/TargetRegisterInfo.h

Modified: llvm/trunk/include/llvm/Target/TargetRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetRegisterInfo.h?rev=265721&r1=265720&r2=265721&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetRegisterInfo.h Thu Apr  7 16:04:30 2016
@@ -943,8 +943,9 @@ public:
   /// Returns the current sub-register index.
   unsigned getSubReg() const { return SubReg; }
 
-  /// Returns the bit mask if register classes that getSubReg() projects into
+  /// Returns the bit mask of register classes that getSubReg() projects into
   /// RC.
+  /// See TargetRegisterClass::getSubClassMask() for how to use it.
   const uint32_t *getMask() const { return Mask; }
 
   /// Advance iterator to the next entry.




More information about the llvm-commits mailing list