aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-07-12 18:15:26 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-07-12 18:15:26 +0000
commitc9c322cc39aab82be8c031a57ebcc6e1206246bd (patch)
tree8ee7c069e1a410737f88aefd5671cb3a3a704f02 /test
parent97781281ca824b4084632b23dbb1e71da9638876 (diff)
downloadexternal_llvm-c9c322cc39aab82be8c031a57ebcc6e1206246bd.zip
external_llvm-c9c322cc39aab82be8c031a57ebcc6e1206246bd.tar.gz
external_llvm-c9c322cc39aab82be8c031a57ebcc6e1206246bd.tar.bz2
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
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/R600/64bit-kernel-args.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/R600/64bit-kernel-args.ll b/test/CodeGen/R600/64bit-kernel-args.ll
new file mode 100644
index 0000000..2020e65
--- /dev/null
+++ b/test/CodeGen/R600/64bit-kernel-args.ll
@@ -0,0 +1,9 @@
+; 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
+}