Mercurial > hg > CbC > CbC_llvm
diff llvm/test/CodeGen/AMDGPU/trunc-store.ll @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line diff
--- a/llvm/test/CodeGen/AMDGPU/trunc-store.ll Wed Nov 09 17:47:54 2022 +0900 +++ b/llvm/test/CodeGen/AMDGPU/trunc-store.ll Fri Aug 18 09:04:13 2023 +0900 @@ -3,16 +3,16 @@ ; FUNC-LABEL: {{^}}truncstore_arg_v16i32_to_v16i8: ; SI: buffer_store_dwordx4 -define amdgpu_kernel void @truncstore_arg_v16i32_to_v16i8(<16 x i8> addrspace(1)* %out, <16 x i32> %in) { +define amdgpu_kernel void @truncstore_arg_v16i32_to_v16i8(ptr addrspace(1) %out, <16 x i32> %in) { %trunc = trunc <16 x i32> %in to <16 x i8> - store <16 x i8> %trunc, <16 x i8> addrspace(1)* %out + store <16 x i8> %trunc, ptr addrspace(1) %out ret void } ; FUNC-LABEL: {{^}}truncstore_arg_v16i64_to_v16i8: ; SI: buffer_store_dwordx4 -define amdgpu_kernel void @truncstore_arg_v16i64_to_v16i8(<16 x i8> addrspace(1)* %out, <16 x i64> %in) { +define amdgpu_kernel void @truncstore_arg_v16i64_to_v16i8(ptr addrspace(1) %out, <16 x i64> %in) { %trunc = trunc <16 x i64> %in to <16 x i8> - store <16 x i8> %trunc, <16 x i8> addrspace(1)* %out + store <16 x i8> %trunc, ptr addrspace(1) %out ret void }