[mips][msa] Float vector constants cannot use ldi.[wd] directly. Bitcast from the...
[oota-llvm.git] / lib / Target / Mips / MipsLongBranch.cpp
index 06bb14a383c4ff6da446914d6ded4496d2d7851f..ea8cc802835e462e8bc6b845d34afb3c1bdff5a4 100644 (file)
@@ -241,7 +241,7 @@ void MipsLongBranch::replaceBranch(MachineBasicBlock &MBB, Iter Br,
   // and erase the original branch.
   assert(Br->isBundledWithSucc());
   MachineBasicBlock::instr_iterator II(Br);
-  MIBundleBuilder(&*MIB).append(llvm::next(II)->removeFromBundle());
+  MIBundleBuilder(&*MIB).append((++II)->removeFromBundle());
   Br->eraseFromParent();
 }