@@ -2636,7 +2636,7 @@ MachineVerifier::visitMachineOperand(const MachineOperand *MO, unsigned MONum) {
26362636 }
26372637 if (MONum < MCID.getNumOperands ()) {
26382638 if (const TargetRegisterClass *DRC =
2639- TII->getRegClass (MCID, MONum, TRI, *MF )) {
2639+ TII->getRegClass (MCID, MONum, TRI)) {
26402640 if (!DRC->contains (Reg)) {
26412641 report (" Illegal physical register for instruction" , MO, MONum);
26422642 OS << printReg (Reg, TRI) << " is not a "
@@ -2721,11 +2721,11 @@ MachineVerifier::visitMachineOperand(const MachineOperand *MO, unsigned MONum) {
27212721 // comply to it.
27222722 if (!isPreISelGenericOpcode (MCID.getOpcode ()) &&
27232723 MONum < MCID.getNumOperands () &&
2724- TII->getRegClass (MCID, MONum, TRI, *MF )) {
2724+ TII->getRegClass (MCID, MONum, TRI)) {
27252725 report (" Virtual register does not match instruction constraint" , MO,
27262726 MONum);
27272727 OS << " Expect register class "
2728- << TRI->getRegClassName (TII->getRegClass (MCID, MONum, TRI, *MF ))
2728+ << TRI->getRegClassName (TII->getRegClass (MCID, MONum, TRI))
27292729 << " but got nothing\n " ;
27302730 return ;
27312731 }
@@ -2752,7 +2752,7 @@ MachineVerifier::visitMachineOperand(const MachineOperand *MO, unsigned MONum) {
27522752 }
27532753 if (MONum < MCID.getNumOperands ()) {
27542754 if (const TargetRegisterClass *DRC =
2755- TII->getRegClass (MCID, MONum, TRI, *MF )) {
2755+ TII->getRegClass (MCID, MONum, TRI)) {
27562756 if (SubIdx) {
27572757 const TargetRegisterClass *SuperRC =
27582758 TRI->getLargestLegalSuperClass (RC, *MF);
0 commit comments