[PATCH] D117042: GlobalISel: Fix insert point in localizer
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 11 11:17:32 PST 2022
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/Localizer.cpp:176
+ assert(II != MBB.end() && "Didn't find the user in the MBB");
LLVM_DEBUG(dbgs() << "Intra-block: moving " << *MI << " before " << *&*II
----------------
paquette wrote:
> why did this move?
Because if you hit the end with -debug, it would crash in the debug printing instead of hit the assert
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117042/new/
https://reviews.llvm.org/D117042
More information about the llvm-commits
mailing list