You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
18
external/llvm/test/CodeGen/AMDGPU/trunc-store.ll
vendored
Normal file
18
external/llvm/test/CodeGen/AMDGPU/trunc-store.ll
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
; RUN: llc -march=amdgcn -mcpu=verde -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
|
||||
; RUN: llc -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
|
||||
|
||||
; 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) {
|
||||
%trunc = trunc <16 x i32> %in to <16 x i8>
|
||||
store <16 x i8> %trunc, <16 x i8> 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) {
|
||||
%trunc = trunc <16 x i64> %in to <16 x i8>
|
||||
store <16 x i8> %trunc, <16 x i8> addrspace(1)* %out
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user