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

lib/Target/IA64/IA64RegisterInfo.cpp
lib/Target/IA64/IA64RegisterInfo.h

index f52ce47abc309e8601c496ef643ca9bc3a06a7f3..e7e18dd3ead2c78960f20010fc806010955e0170 100644 (file)
@@ -339,24 +339,3 @@ void IA64RegisterInfo::emitEpilogue(MachineFunction &MF,
 
 #include "IA64GenRegisterInfo.inc"
 
-const TargetRegisterClass*
-IA64RegisterInfo::getRegClassForType(const Type* Ty) const {
-  switch (Ty->getTypeID()) {
-  default:              assert(0 && "Invalid type to getClass!");
-  case Type::LongTyID:
-  case Type::ULongTyID:
-  case Type::BoolTyID:
-  case Type::SByteTyID:
-  case Type::UByteTyID:
-  case Type::ShortTyID:
-  case Type::UShortTyID:
-  case Type::IntTyID:
-  case Type::UIntTyID:
-  case Type::PointerTyID: return &GRInstance;
-
-  case Type::FloatTyID:
-  case Type::DoubleTyID: return &FPInstance;
-  }
-}
-
-
index ddc0988df142dc09a4ce1bf5eaf53bc883ad0690..1a6b00b8d30fd82b2860e1445c5a91ecabd8d068 100644 (file)
@@ -23,7 +23,6 @@ namespace llvm {
 
 struct IA64RegisterInfo : public IA64GenRegisterInfo {
   IA64RegisterInfo();
-  const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
 
   /// Code Generation virtual methods...
   void storeRegToStackSlot(MachineBasicBlock &MBB,