[PATCH] D117042: GlobalISel: Fix insert point in localizer

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 11 11:24:29 PST 2022


foad added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/Localizer.cpp:177
+    assert(II != MBB.end() && "Didn't find the user in the MBB");
     LLVM_DEBUG(dbgs() << "Intra-block: moving " << *MI << " before " << *&*II
                       << "\n");
----------------
Surely `*II` would suffice?


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

https://reviews.llvm.org/D117042



More information about the llvm-commits mailing list