llvm-6502/test/CodeGen/R600/64bit-kernel-args.ll
Tom Stellard c9c322cc39 R600/SI: Add support for f64 kernel arguments
Patch by: Niels Ole Salscheider

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186182 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-12 18:15:26 +00:00

10 lines
254 B
LLVM

; RUN: llc < %s -march=r600 -mcpu=tahiti | FileCheck %s
; SI-CHECK: @f64_kernel_arg
; SI-CHECK: BUFFER_STORE_DWORDX2
define void @f64_kernel_arg(double addrspace(1)* %out, double %in) {
entry:
store double %in, double addrspace(1)* %out
ret void
}