[llvm] r265561 - [MachineRegisterInfo] Document what is the expected metric for the size of generic registers

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 09:51:04 PDT 2016


Author: qcolombet
Date: Wed Apr  6 11:51:04 2016
New Revision: 265561

URL: http://llvm.org/viewvc/llvm-project?rev=265561&view=rev
Log:
[MachineRegisterInfo] Document what is the expected metric for the size of generic registers

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h?rev=265561&r1=265560&r2=265561&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h Wed Apr  6 11:51:04 2016
@@ -600,11 +600,11 @@ public:
   ///
   unsigned createVirtualRegister(const TargetRegisterClass *RegClass);
 
-  /// Get the size of \p VReg or 0 if VReg is not a generic
+  /// Get the size in bits of \p VReg or 0 if VReg is not a generic
   /// (target independent) virtual register.
   unsigned getSize(unsigned VReg) const;
 
-  /// Set the size of \p VReg to \p Size.
+  /// Set the size in bits of \p VReg to \p Size.
   /// Although the size should be set at build time, mir infrastructure
   /// is not yet able to do it.
   void setSize(unsigned VReg, unsigned Size);




More information about the llvm-commits mailing list