Created attachment 19452 [details] Reproducer for subrange join failure There are some other SubRange join failures reported, but since the ones I've investigated have resulted in different fixes I'm filing a fresh one for this reproducer. See bug 32773, bug 33152 and bug 33524 for details of the others The attached reproducer will provoke the problem. Easiest way to do this is: llc -march=amdgcn -run-pass simple-register-coalescer -o - regcoal-subrange-join-seg.mir