[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Add COPY_SCC_VCC combine for VCC-SGPR-VGPR pattern (PR #179352)
Petar Avramovic via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Feb 9 01:54:35 PST 2026
https://github.com/petar-avramovic commented:
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
https://github.com/llvm/llvm-project/pull/179352
More information about the llvm-branch-commits
mailing list