[PATCH] D153877: RegisterCoaleser: Fix empty subrange verifier error

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 07:35:30 PDT 2023


arsenm created this revision.
arsenm added reviewers: qcolombet, MatzeB, kparzysz, foad.
Herald added subscribers: StephenFan, kerbowa, tpr, hiraditya, jvesely.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

In this example an implicit def had live-out undef subrange
defs. After coalescing with the def from a previous block, the
undef-defed lanes are no longer live out of the block in the new
interval. An empty subrange was tenatively created for these lanes,
but it must be deleted.


https://reviews.llvm.org/D153877

Files:
  llvm/lib/CodeGen/RegisterCoalescer.cpp
  llvm/test/CodeGen/AMDGPU/blender-coalescer-verifier-error-empty-subrange.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153877.534981.patch
Type: text/x-patch
Size: 4626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230627/00225afc/attachment.bin>


More information about the llvm-commits mailing list