mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 13:08:00 +00:00
Make getMinimalPhysRegClass' comment mention what makes it different
from getPhysicalRegisterRegClass. llvm-svn: 107660
This commit is contained in:
parent
33f0f11376
commit
c88c36181f
@ -320,7 +320,8 @@ public:
|
||||
getPhysicalRegisterRegClass(unsigned Reg, EVT VT = MVT::Other) const;
|
||||
|
||||
/// getMinimalPhysRegClass - Returns the Register Class of a physical
|
||||
/// register of the given type.
|
||||
/// register of the given type, picking the most sub register class of
|
||||
/// the right type that contains this physreg.
|
||||
const TargetRegisterClass *
|
||||
getMinimalPhysRegClass(unsigned Reg, EVT VT = MVT::Other) const;
|
||||
|
||||
|
@ -61,7 +61,8 @@ TargetRegisterInfo::getPhysicalRegisterRegClass(unsigned reg, EVT VT) const {
|
||||
}
|
||||
|
||||
/// getMinimalPhysRegClass - Returns the Register Class of a physical
|
||||
/// register of the given type.
|
||||
/// register of the given type, picking the most sub register class of
|
||||
/// the right type that contains this physreg.
|
||||
const TargetRegisterClass *
|
||||
TargetRegisterInfo::getMinimalPhysRegClass(unsigned reg, EVT VT) const {
|
||||
assert(isPhysicalRegister(reg) && "reg must be a physical register");
|
||||
|
Loading…
Reference in New Issue
Block a user