diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-19 18:34:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-19 18:34:37 +0000 |
commit | 8212203ab995d130f718e9fa2a809434eeb995f2 (patch) | |
tree | f14d4d3f5dad47ab5619382cc0d128f631b96b8e | |
parent | 5499742c06250a060896a6f9b62019495c061803 (diff) |
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
-rw-r--r-- | lib/Target/IA64/IA64RegisterInfo.cpp | 21 | ||||
-rw-r--r-- | lib/Target/IA64/IA64RegisterInfo.h | 1 |
2 files changed, 0 insertions, 22 deletions
diff --git a/lib/Target/IA64/IA64RegisterInfo.cpp b/lib/Target/IA64/IA64RegisterInfo.cpp index f52ce47abc..e7e18dd3ea 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 ddc0988df1..1a6b00b8d3 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, |