This is an archive of the discontinued LLVM Phabricator instance.

RegisterCoalescer: Don't skip resolveConflicts for SubRegJoin
AbandonedPublic

Authored by arsenm on Nov 6 2018, 2:03 PM.

Details

Reviewers
MatzeB
kparzysz
Summary

Fixes second "Couldn't join subrange!" error in bug 39542

Diff Detail

Event Timeline

arsenm created this revision.Nov 6 2018, 2:03 PM
arsenm added a comment.Nov 6 2018, 2:09 PM

However, this variant still fails:

body: |

bb.0:
  successors: %bb.1
  undef %0.sub1:sreg_64_xexec = IMPLICIT_DEF

bb.1:
  %0.sub0:sreg_64_xexec = S_MOV_B32 0
  %1:sreg_64 = COPY %0:sreg_64_xexec
  dead %0.sub1:sreg_64_xexec = COPY %0.sub0:sreg_64_xexec
  S_ENDPGM implicit %1.sub1:sreg_64
arsenm abandoned this revision.Nov 15 2018, 9:02 PM