diff options
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/load-local-i32.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/load-local-i32.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/load-local-i32.ll b/llvm/test/CodeGen/AMDGPU/load-local-i32.ll index fd2a73936d9..f9b5cce823c 100644 --- a/llvm/test/CodeGen/AMDGPU/load-local-i32.ll +++ b/llvm/test/CodeGen/AMDGPU/load-local-i32.ll @@ -265,4 +265,14 @@ define amdgpu_kernel void @local_zextload_v32i32_to_v32i64(<32 x i64> addrspace( ret void } +; FUNC-LABEL: {{^}}local_load_v32i32: +; SICIVI: s_mov_b32 m0, -1 +; GFX9-NOT: m0 + +define amdgpu_kernel void @local_load_v32i32(<32 x i32> addrspace(3)* %out, <32 x i32> addrspace(3)* %in) #0 { + %ld = load <32 x i32>, <32 x i32> addrspace(3)* %in + store <32 x i32> %ld, <32 x i32> addrspace(3)* %out + ret void +} + attributes #0 = { nounwind } |