if (EnableDelaySlotFiller && findDelayInstr(MBB, I, D)) {
MBB.splice(llvm::next(I), &MBB, D);
++UsefulSlots;
- } else
+ } else
BuildMI(MBB, llvm::next(I), I->getDebugLoc(), TII->get(Mips::NOP));
// Record the filler instruction that filled the delay slot.
return true;
// Loads or stores cannot be moved past a store to the delay slot
- // and stores cannot be moved past a load.
+ // and stores cannot be moved past a load.
if (candidate->mayLoad()) {
if (sawStore)
return true;
MCInstrDesc MCID = MI->getDesc();
unsigned e = MI->isCall() || MI->isReturn() ? MCID.getNumOperands() :
MI->getNumOperands();
-
- // Add RA to RegDefs to prevent users of RA from going into delay slot.
+
+ // Add RA to RegDefs to prevent users of RA from going into delay slot.
if (MI->isCall())
RegDefs.insert(Mips::RA);