[PATCH] D117615: [mips] fix -mfix4300

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 09:03:19 PST 2022


atanasyan accepted this revision.
atanasyan added a comment.
This revision is now accepted and ready to land.

LGTM with a small fix. I will commit the changes shortly.



================
Comment at: llvm/lib/Target/Mips/MipsMulMulBugPass.cpp:120
 
-    MachineBasicBlock::instr_iterator NextMII = std::next(MII);
+    NextMII = skipDebugInstructionsForward(std::next(MII), E);
 
----------------
You can use the `next_nodbg` function to write this line as `NextMII = next_nodbg(MII, E);`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117615/new/

https://reviews.llvm.org/D117615



More information about the llvm-commits mailing list