[PATCH] D49097: [RegisterCoalescer] Another fix for subrange join unreachable

Tim Renouf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 12:12:54 PDT 2018


tpr created this revision.
Herald added subscribers: llvm-commits, nhaehnle, qcolombet, MatzeB.

When checking for conflicts, two subreg values can be considered equal
if they are ultimately copies of the same register but one is undefined.

This is a simplified alternative to David's https://reviews.llvm.org/D35073 now that most of the
cases fixed by that are also fixed by Krzysztof's https://reviews.llvm.org/D48102.

Change-Id: I5c8c1a229237a46ae20d0dd18ee5121bfbfc5ad8


Repository:
  rL LLVM

https://reviews.llvm.org/D49097

Files:
  lib/CodeGen/RegisterCoalescer.cpp
  test/CodeGen/AMDGPU/coalescing-another-couldnt-join-subrange.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49097.154675.patch
Type: text/x-patch
Size: 19396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180709/49cf12ab/attachment.bin>


More information about the llvm-commits mailing list