Allow patterns to refer to physical registers that belong to multiple

register classes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2006-05-16 07:05:30 +00:00
parent c14c936c79
commit 44a65fa552
3 changed files with 26 additions and 6 deletions

View File

@@ -110,6 +110,10 @@ public:
}
return FoundRC;
}
/// getRegisterVTs - Find the union of all possible ValueTypes for the
/// specified physical register.
std::vector<unsigned char> getRegisterVTs(Record *R) const;
const std::vector<MVT::ValueType> &getLegalValueTypes() const {
if (LegalValueTypes.empty()) ReadLegalValueTypes();