From 8212203ab995d130f718e9fa2a809434eeb995f2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 19 Aug 2005 18:34:37 +0000 Subject: [PATCH] This code has always been dead on itanium git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22916 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/IA64/IA64RegisterInfo.cpp | 21 --------------------- lib/Target/IA64/IA64RegisterInfo.h | 1 - 2 files changed, 22 deletions(-) diff --git a/lib/Target/IA64/IA64RegisterInfo.cpp b/lib/Target/IA64/IA64RegisterInfo.cpp index f52ce47abc3..e7e18dd3ead 100644 --- a/lib/Target/IA64/IA64RegisterInfo.cpp +++ b/lib/Target/IA64/IA64RegisterInfo.cpp @@ -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; - } -} - - diff --git a/lib/Target/IA64/IA64RegisterInfo.h b/lib/Target/IA64/IA64RegisterInfo.h index ddc0988df14..1a6b00b8d30 100644 --- a/lib/Target/IA64/IA64RegisterInfo.h +++ b/lib/Target/IA64/IA64RegisterInfo.h @@ -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,