From a1ca39d3107f5d30f806c3f1b96544fde8dd28db Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Wed, 6 Apr 2016 16:51:04 +0000 Subject: [PATCH] [MachineRegisterInfo] Document what is the expected metric for the size of generic registers llvm-svn: 265561 --- llvm/include/llvm/CodeGen/MachineRegisterInfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h index 554406b..d16f73f 100644 --- a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h +++ b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h @@ -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); -- 2.7.4