summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-04-06 16:51:04 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-04-06 16:51:04 +0000
commita1ca39d3107f5d30f806c3f1b96544fde8dd28db (patch)
treee3d52fea993702bc868bcafb543d3eb19d8578e8
parent97a67572d65a6f26d209eb2b366814eda37e4917 (diff)
downloadbcm5719-llvm-a1ca39d3107f5d30f806c3f1b96544fde8dd28db.tar.gz
bcm5719-llvm-a1ca39d3107f5d30f806c3f1b96544fde8dd28db.zip
[MachineRegisterInfo] Document what is the expected metric for the size of generic registers
llvm-svn: 265561
-rw-r--r--llvm/include/llvm/CodeGen/MachineRegisterInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h
index 554406b6b76..d16f73ffabd 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);
OpenPOWER on IntegriCloud