mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
The simple isel being gone makes this dead!
llvm-svn: 22914
This commit is contained in:
parent
f0e731ea49
commit
e894de1791
@ -572,22 +572,3 @@ void X86RegisterInfo::emitEpilogue(MachineFunction &MF,
|
||||
|
||||
#include "X86GenRegisterInfo.inc"
|
||||
|
||||
const TargetRegisterClass*
|
||||
X86RegisterInfo::getRegClassForType(const Type* Ty) const {
|
||||
switch (Ty->getTypeID()) {
|
||||
case Type::LongTyID:
|
||||
case Type::ULongTyID: assert(0 && "Long values can't fit in registers!");
|
||||
default: assert(0 && "Invalid type to getClass!");
|
||||
case Type::BoolTyID:
|
||||
case Type::SByteTyID:
|
||||
case Type::UByteTyID: return &R8Instance;
|
||||
case Type::ShortTyID:
|
||||
case Type::UShortTyID: return &R16Instance;
|
||||
case Type::IntTyID:
|
||||
case Type::UIntTyID:
|
||||
case Type::PointerTyID: return &R32Instance;
|
||||
|
||||
case Type::FloatTyID:
|
||||
case Type::DoubleTyID: return &RFPInstance;
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,6 @@ namespace llvm {
|
||||
|
||||
struct X86RegisterInfo : public X86GenRegisterInfo {
|
||||
X86RegisterInfo();
|
||||
const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
|
||||
|
||||
/// Code Generation virtual methods...
|
||||
void storeRegToStackSlot(MachineBasicBlock &MBB,
|
||||
|
Loading…
Reference in New Issue
Block a user