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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D117042
GlobalISel: Fix insert point in localizer ClosedPublic Authored by arsenm on Jan 11 2022, 11:02 AM.
Details Summary This was inserting the new G_CONSTANT after the use, and the later
Diff Detail Event TimelineHerald added subscribers: kerbowa, hiraditya, rovka and 2 others. · View Herald TranscriptJan 11 2022, 11:02 AM
This revision is now accepted and ready to land.Jan 11 2022, 2:19 PM
Revision Contents
Diff 399022 llvm/lib/CodeGen/GlobalISel/Localizer.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/localizer-wrong-insert-point.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll
|
why did this move?