[llvm] r194340 - Make method static

Matt Arsenault Matthew.Arsenault at amd.com
Sat Nov 9 17:04:02 PST 2013


Author: arsenm
Date: Sat Nov  9 19:04:02 2013
New Revision: 194340

URL: http://llvm.org/viewvc/llvm-project?rev=194340&view=rev
Log:
Make method static

Modified:
    llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp
    llvm/trunk/lib/Target/R600/SIRegisterInfo.h

Modified: llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp?rev=194340&r1=194339&r2=194340&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIRegisterInfo.cpp Sat Nov  9 19:04:02 2013
@@ -72,7 +72,7 @@ const TargetRegisterClass *SIRegisterInf
   return NULL;
 }
 
-bool SIRegisterInfo::isSGPRClass(const TargetRegisterClass *RC) const {
+bool SIRegisterInfo::isSGPRClass(const TargetRegisterClass *RC) {
   if (!RC) {
     return false;
   }

Modified: llvm/trunk/lib/Target/R600/SIRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIRegisterInfo.h?rev=194340&r1=194339&r2=194340&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIRegisterInfo.h (original)
+++ llvm/trunk/lib/Target/R600/SIRegisterInfo.h Sat Nov  9 19:04:02 2013
@@ -47,7 +47,7 @@ struct SIRegisterInfo : public AMDGPUReg
   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





More information about the llvm-commits mailing list