[llvm] [AMDGPU] Illegal VGPR to SGPR copy (PR #144008)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 12 22:40:28 PDT 2025


================
@@ -42,9 +40,7 @@ define amdgpu_kernel void @illegal_vgpr_to_sgpr_copy_v16i32() #0 {
   ret void
 }
 
-; ERR: error: <unknown>:0:0: in function illegal_agpr_to_sgpr_copy_i32 void (): illegal VGPR to SGPR copy
-; GCN: v_accvgpr_read_b32 [[COPY1:v[0-9]+]], a1
-; GCN: ; illegal copy [[COPY1]] to s9
+
----------------
arsenm wrote:

This can't be left with no checks 

https://github.com/llvm/llvm-project/pull/144008


More information about the llvm-commits mailing list