mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Make method static
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c5142c547f
commit
9988ad4ae6
@ -72,7 +72,7 @@ const TargetRegisterClass *SIRegisterInfo::getPhysRegClass(unsigned Reg) const {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool SIRegisterInfo::isSGPRClass(const TargetRegisterClass *RC) const {
|
||||
bool SIRegisterInfo::isSGPRClass(const TargetRegisterClass *RC) {
|
||||
if (!RC) {
|
||||
return false;
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ struct SIRegisterInfo : public AMDGPURegisterInfo {
|
||||
const TargetRegisterClass *getPhysRegClass(unsigned Reg) const;
|
||||
|
||||
/// \returns true if this class contains only SGPR registers
|
||||
bool isSGPRClass(const TargetRegisterClass *RC) const;
|
||||
static bool isSGPRClass(const TargetRegisterClass *RC);
|
||||
};
|
||||
|
||||
} // End namespace llvm
|
||||
|
Loading…
Reference in New Issue
Block a user