[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Add COPY_SCC_VCC combine for VCC-SGPR-VGPR pattern (PR #179352)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Feb 15 17:48:40 PST 2026
vangthao95 wrote:
> Speaking of G_SELECT combine here, think we are actually doing a much more generic combine
>
> %**1**:sgpr(s32) = G_COPY-FROM-VGPR-OR-VCC %**0** %**2:sgpr**(s32) = G_XYZ %**1**, %x, %y - SALU %**3**:vgpr(s32) = COPY %**2** -> %**3:vgpr**(s32) = G_XYZ %**0**, %x_vgpr, %y_vgpr - VALU
>
> but I am not sure on actual conditions when we want to move instruction to VALU
Is there a common case for COPY-FROM-VGPR that is not already handled by READANYLANE combines?
https://github.com/llvm/llvm-project/pull/179352
More information about the llvm-branch-commits
mailing list