This code has always been dead for alpha
authorChris Lattner <sabre@nondot.org>
Fri, 19 Aug 2005 18:33:26 +0000 (18:33 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 19 Aug 2005 18:33:26 +0000 (18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22915 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaRegisterInfo.cpp
lib/Target/Alpha/AlphaRegisterInfo.h

index f7c3e5402cb1bc906dcc867b78c016304d28c3c0..b6c93531c99bfde32665ee4e07171508cc789c56 100644 (file)
@@ -333,26 +333,6 @@ void AlphaRegisterInfo::emitEpilogue(MachineFunction &MF,
 
 #include "AlphaGenRegisterInfo.inc"
 
-const TargetRegisterClass*
-AlphaRegisterInfo::getRegClassForType(const Type* Ty) const {
-  switch (Ty->getTypeID()) {
-    default:              assert(0 && "Invalid type to getClass!");
-    case Type::BoolTyID:
-    case Type::SByteTyID:
-    case Type::UByteTyID:
-    case Type::ShortTyID:
-    case Type::UShortTyID:
-    case Type::IntTyID:
-    case Type::UIntTyID:
-    case Type::PointerTyID:
-    case Type::LongTyID:
-    case Type::ULongTyID:  return &GPRCInstance;
-
-  case Type::FloatTyID:
-  case Type::DoubleTyID: return &FPRCInstance;
-  }
-}
-
 std::string AlphaRegisterInfo::getPrettyName(unsigned reg)
 {
   std::string s(RegisterDescriptors[reg].Name);
index 3374a26190eea46d941347b75a3410b9b9dc4022..d755432321beaf2049a7ad6c0f28f893debce7b2 100644 (file)
@@ -23,7 +23,6 @@ class Type;
 
 struct AlphaRegisterInfo : public AlphaGenRegisterInfo {
   AlphaRegisterInfo();
-  const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
 
   /// Code Generation virtual methods...
   void storeRegToStackSlot(MachineBasicBlock &MBB,