[PATCH] D113116: [CodeGen] Fix assertion failure in TwoAddressInstructionPass::rescheduleMIBelowKill

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 6 02:43:29 PDT 2021


RKSimon added a comment.

Any other comments?



================
Comment at: llvm/lib/CodeGen/TwoAddressInstructionPass.cpp:959
     // We have to move the copies first so that the MBB is still well-formed
     // when calling handleMove().
     for (MachineBasicBlock::iterator MBBI = AfterMI; MBBI != End;) {
----------------
Adjust this - since we're not actually moving the debug instr copies 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113116



More information about the llvm-commits mailing list