[PATCH] D35073: [RegisterCoalescer] Fix for subrange join unreachable

David Stuttard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 03:58:09 PST 2018


dstuttard updated this revision to Diff 129060.
dstuttard added a comment.

A better fix for this problem.

The original fix chose an arbitrary other subreg to return in the case where the
subreg was actually not defined - this isn't ideal as this can sometimes lead
to matching something different and causing an assert.

Fix now updated to allow for undefined sub-registers (they are ignored if they
are undefined)


https://reviews.llvm.org/D35073

Files:
  lib/CodeGen/RegisterCoalescer.cpp
  test/CodeGen/AMDGPU/regcoalesce-subregjoin-fullcopy.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35073.129060.patch
Type: text/x-patch
Size: 17647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180109/1e627d61/attachment.bin>


More information about the llvm-commits mailing list