Displaying 1 result from an estimated 1 matches for "s_branch".
Did you mean:
s_cbranch
2020 Nov 19
1
Problems with undef subranges in identity copies
...e, in this case, %0 has 2 subregisters sub0 and sub1:
bb.0:
undef %0.sub1:vreg_64 = COPY killed $vgpr0
bb.1:
%0:vreg_64 = COPY %0
S_CBRANCH_EXECNZ %bb.1, implicit $exec
bb.2:
undef %0.sub1:vreg_64 = nofpexcept V_CEIL_F32_e32 killed %0.sub1, implicit $mode, implicit $exec
S_BRANCH %bb.1
sub0 has no defined values anywhere in this function. The value only
exists due to this identity copy in %bb.1, which is removed.
When the copy is erased and the interval is updated
(https://github.com/llvm/llvm-project/blob/523cc097fdafa1bb60373dcc70df7dfd31551f56/llvm/lib/CodeGen/Register...