forked from OSchip/llvm-project
parent
5752ad0abc
commit
ad4de684ea
|
@ -120,13 +120,6 @@ static const Mips16IntrinsicHelperType Mips16IntrinsicHelper[] = {
|
|||
|
||||
Mips16TargetLowering::Mips16TargetLowering(MipsTargetMachine &TM)
|
||||
: MipsTargetLowering(TM) {
|
||||
//
|
||||
// set up as if mips32 and then revert so we can test the mechanism
|
||||
// for switching
|
||||
addRegisterClass(MVT::i32, &Mips::GPR32RegClass);
|
||||
addRegisterClass(MVT::f32, &Mips::FGR32RegClass);
|
||||
computeRegisterProperties();
|
||||
clearRegisterClasses();
|
||||
|
||||
// Set up the register classes
|
||||
addRegisterClass(MVT::i32, &Mips::CPU16RegsRegClass);
|
||||
|
|
Loading…
Reference in New Issue