From 9988ad4ae684caa566773d3eda4d55707b92c0cd Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Sun, 10 Nov 2013 01:04:02 +0000 Subject: [PATCH] Make method static git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194340 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/SIRegisterInfo.cpp | 2 +- lib/Target/R600/SIRegisterInfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/R600/SIRegisterInfo.cpp b/lib/Target/R600/SIRegisterInfo.cpp index 7f69ef6f286..536ac9a7a2b 100644 --- a/lib/Target/R600/SIRegisterInfo.cpp +++ b/lib/Target/R600/SIRegisterInfo.cpp @@ -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; } diff --git a/lib/Target/R600/SIRegisterInfo.h b/lib/Target/R600/SIRegisterInfo.h index ffc57973e05..0880a898983 100644 --- a/lib/Target/R600/SIRegisterInfo.h +++ b/lib/Target/R600/SIRegisterInfo.h @@ -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 -- 2.34.1