Use getStoreSize() instead of getStoreSizeInBits()/8.
[oota-llvm.git] / lib / Target / Sparc / DelaySlotFiller.cpp
index f6648a87005854c1a284b1323decc01c491def5d..15b26c29872f3bfefbd47a90f70d44cef8564f55 100644 (file)
@@ -68,7 +68,7 @@ bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) {
     if (I->getDesc().hasDelaySlot()) {
       MachineBasicBlock::iterator J = I;
       ++J;
-      BuildMI(MBB, J, TII->get(SP::NOP));
+      BuildMI(MBB, J, DebugLoc::getUnknownLoc(), TII->get(SP::NOP));
       ++FilledSlots;
       Changed = true;
     }