[PATCH] D50914: [RegisterCoalescer] Fix for assert in removePartialRedundancy

Tim Renouf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 17 11:50:12 PDT 2018


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

I got "Use not jointly dominated by defs" when removePartialRedundancy
attempted to prune then re-extend a subrange whose only liveness was a
dead def at the copy being removed.

Change-Id: I6f894e9f517f71e921e0c6d81d28c5f344db8dad


Repository:
  rL LLVM

https://reviews.llvm.org/D50914

Files:
  lib/CodeGen/RegisterCoalescer.cpp
  test/CodeGen/AMDGPU/regcoalescing-remove-partial-redundancy-assert.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50914.161294.patch
Type: text/x-patch
Size: 32328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180817/9930f921/attachment.bin>


More information about the llvm-commits mailing list