1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

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

llvm-svn: 265561
This commit is contained in:
Quentin Colombet 2016-04-06 16:51:04 +00:00
parent f357d442d6
commit 54cd022e5d

View File

@ -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);