@@ -361,6 +361,7 @@ bool M68kInstrInfo::ExpandMOVX_RR(MachineInstrBuilder &MIB, MVT MVTDst,
361
361
362
362
assert (RCDst && RCSrc && " Wrong use of MOVX_RR" );
363
363
assert (RCDst != RCSrc && " You cannot use the same Reg Classes with MOVX_RR" );
364
+ (void )RCSrc;
364
365
365
366
// We need to find the super source register that matches the size of Dst
366
367
unsigned SSrc = RI.getMatchingMegaReg (Src, RCDst);
@@ -407,6 +408,7 @@ bool M68kInstrInfo::ExpandMOVSZX_RR(MachineInstrBuilder &MIB, bool IsSigned,
407
408
408
409
assert (RCDst && RCSrc && " Wrong use of MOVSX_RR" );
409
410
assert (RCDst != RCSrc && " You cannot use the same Reg Classes with MOVSX_RR" );
411
+ (void )RCSrc;
410
412
411
413
// We need to find the super source register that matches the size of Dst
412
414
unsigned SSrc = RI.getMatchingMegaReg (Src, RCDst);
@@ -746,6 +748,7 @@ void M68kInstrInfo::storeRegToStackSlot(
746
748
const MachineFrameInfo &MFI = MBB.getParent ()->getFrameInfo ();
747
749
assert (MFI.getObjectSize (FrameIndex) >= TRI->getSpillSize (*RC) &&
748
750
" Stack slot is too small to store" );
751
+ (void )MFI;
749
752
750
753
unsigned Opc = getStoreRegOpcode (SrcReg, RC, TRI, Subtarget);
751
754
DebugLoc DL = MBB.findDebugLoc (MI);
@@ -763,6 +766,7 @@ void M68kInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
763
766
const MachineFrameInfo &MFI = MBB.getParent ()->getFrameInfo ();
764
767
assert (MFI.getObjectSize (FrameIndex) >= TRI->getSpillSize (*RC) &&
765
768
" Stack slot is too small to load" );
769
+ (void )MFI;
766
770
767
771
unsigned Opc = getLoadRegOpcode (DstReg, RC, TRI, Subtarget);
768
772
DebugLoc DL = MBB.findDebugLoc (MI);
0 commit comments