summaryrefslogtreecommitdiff
path: root/backend/kernels/store.ll
diff options
context:
space:
mode:
Diffstat (limited to 'backend/kernels/store.ll')
-rw-r--r--backend/kernels/store.ll16
1 files changed, 16 insertions, 0 deletions
diff --git a/backend/kernels/store.ll b/backend/kernels/store.ll
new file mode 100644
index 00000000..c885d62e
--- /dev/null
+++ b/backend/kernels/store.ll
@@ -0,0 +1,16 @@
+; ModuleID = 'store.o'
+target datalayout = "e-p:32:32-i64:64:64-f64:64:64-n1:8:16:32:64"
+target triple = "ptx32--"
+
+define ptx_kernel void @store(i32* nocapture %dst, i32 addrspace(4)* nocapture %dst0, i32 %x) nounwind noinline {
+entry:
+ store i32 1, i32* %dst, align 4, !tbaa !1
+ ret void
+}
+
+!opencl.kernels = !{!0}
+
+!0 = metadata !{void (i32*, i32 addrspace(4)*, i32)* @store}
+!1 = metadata !{metadata !"int", metadata !2}
+!2 = metadata !{metadata !"omnipotent char", metadata !3}
+!3 = metadata !{metadata !"Simple C/C++ TBAA", null}