summaryrefslogtreecommitdiff
path: root/polly/test/GPGPU/cuda-annotations.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/GPGPU/cuda-annotations.ll')
-rw-r--r--polly/test/GPGPU/cuda-annotations.ll37
1 files changed, 0 insertions, 37 deletions
diff --git a/polly/test/GPGPU/cuda-annotations.ll b/polly/test/GPGPU/cuda-annotations.ll
deleted file mode 100644
index cbb0296d48ef..000000000000
--- a/polly/test/GPGPU/cuda-annotations.ll
+++ /dev/null
@@ -1,37 +0,0 @@
-; RUN: opt %loadPolly -polly-codegen-ppcg -polly-acc-dump-kernel-ir \
-; RUN: -disable-output < %s | \
-; RUN: FileCheck -check-prefix=KERNEL %s
-
-; REQUIRES: pollyacc
-
-; KERNEL: define ptx_kernel void @FUNC_foo_SCOP_0_KERNEL_0(ptr addrspace(1) %MemRef_A, i64 %n) #0 {
-
-; KERNEL: !nvvm.annotations = !{!0}
-
-; KERNEL: !0 = !{ptr @FUNC_foo_SCOP_0_KERNEL_0, !"maxntidx", i32 32, !"maxntidy", i32 1, !"maxntidz", i32 1}
-
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-
-define void @foo(ptr %A, i64 %n) {
-bb:
- br label %bb1
-
-bb1: ; preds = %bb6, %bb
- %i.0 = phi i64 [ 0, %bb ], [ %tmp7, %bb6 ]
- %tmp = icmp slt i64 %i.0, %n
- br i1 %tmp, label %bb2, label %bb8
-
-bb2: ; preds = %bb1
- %tmp3 = getelementptr inbounds i64, ptr %A, i64 %i.0
- %tmp4 = load i64, ptr %tmp3, align 8
- %tmp5 = add nsw i64 %tmp4, 100
- store i64 %tmp5, ptr %tmp3, align 8
- br label %bb6
-
-bb6: ; preds = %bb2
- %tmp7 = add nuw nsw i64 %i.0, 1
- br label %bb1
-
-bb8: ; preds = %bb1
- ret void
-}