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 /include/llvm/Target | |
parent | ff70fe40aa64ed260aaff5f77151c3c2fb39b75a (diff) | |
download | external_llvm-c2af869d629b338861e1c6f0b360a233c0c0f9c4.zip external_llvm-c2af869d629b338861e1c6f0b360a233c0c0f9c4.tar.gz external_llvm-c2af869d629b338861e1c6f0b360a233c0c0f9c4.tar.bz2 |
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 'include/llvm/Target')
-rw-r--r-- | include/llvm/Target/TargetRegisterInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetRegisterInfo.h b/include/llvm/Target/TargetRegisterInfo.h index eb997cd..5913d67 100644 --- a/include/llvm/Target/TargetRegisterInfo.h +++ b/include/llvm/Target/TargetRegisterInfo.h @@ -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; |