diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-06 15:31:55 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-06 15:31:55 +0000 |
commit | c2af869d629b338861e1c6f0b360a233c0c0f9c4 (patch) | |
tree | 1782d63ba3636335d3c71a26a44188910d4a53c5 /lib/Target/TargetRegisterInfo.cpp | |
parent | ff70fe40aa64ed260aaff5f77151c3c2fb39b75a (diff) | |
download | llvm-c2af869d629b338861e1c6f0b360a233c0c0f9c4.tar.gz llvm-c2af869d629b338861e1c6f0b360a233c0c0f9c4.tar.bz2 llvm-c2af869d629b338861e1c6f0b360a233c0c0f9c4.tar.xz |
Make getMinimalPhysRegClass' comment mention what makes it different
from getPhysicalRegisterRegClass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetRegisterInfo.cpp')
-rw-r--r-- | lib/Target/TargetRegisterInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/TargetRegisterInfo.cpp b/lib/Target/TargetRegisterInfo.cpp index 48374d93d8..65898243d0 100644 --- a/lib/Target/TargetRegisterInfo.cpp +++ b/lib/Target/TargetRegisterInfo.cpp @@ -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"); |