[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:02:58 PST 2022
arsenm created this revision.
arsenm added reviewers: aemerson, paquette, dsanders, aditya_nandakumar, foad, Petar.Avramovic.
Herald added subscribers: kerbowa, hiraditya, rovka, nhaehnle, jvesely.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
This was inserting the new G_CONSTANT after the use, and the later
block scan would run off the end. Fix calling SkipPHIsAndLabels for no
apparent reason.
https://reviews.llvm.org/D117042
Files:
llvm/lib/CodeGen/GlobalISel/Localizer.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/localizer-wrong-insert-point.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117042.399022.patch
Type: text/x-patch
Size: 4148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220111/67969a56/attachment.bin>
More information about the llvm-commits
mailing list