2014-03-18 02:58:11 +08:00
|
|
|
; RUN: llc -march=r600 -mcpu=cypress < %s | FileCheck %s
|
|
|
|
|
2014-10-02 01:15:17 +08:00
|
|
|
; CHECK-LABEL: {{^}}kernel_arg_i64:
|
2017-03-22 05:39:51 +08:00
|
|
|
define amdgpu_kernel void @kernel_arg_i64(i64 addrspace(1)* %out, i64 %a) nounwind {
|
2014-03-18 02:58:11 +08:00
|
|
|
store i64 %a, i64 addrspace(1)* %out, align 8
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; i64 arg works, v1i64 arg does not.
|
2014-10-02 01:15:17 +08:00
|
|
|
; CHECK-LABEL: {{^}}kernel_arg_v1i64:
|
2017-03-22 05:39:51 +08:00
|
|
|
define amdgpu_kernel void @kernel_arg_v1i64(<1 x i64> addrspace(1)* %out, <1 x i64> %a) nounwind {
|
2014-03-18 02:58:11 +08:00
|
|
|
store <1 x i64> %a, <1 x i64> addrspace(1)* %out, align 8
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|