-; RUN: opt %loadPolly -polly-print-scops -disable-outout < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-print-scops -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen-ppcg -polly-acc-dump-schedule \
; RUN: -disable-output < %s | \
; RUN: FileCheck -check-prefix=SCHED %s
; RUN: -disable-output < %s | \
; RUN: FileCheck %s -check-prefix=KERNEL-ASM
-; REQUIRES: pollyacc,nvptx
+; XFAIL: *
+
+; REQUIRES: pollyacc, target=nvptx{{.*}}
+
+; This fails today due to extensive output differences from when the test was written.
; CHECK: Stmt_bb5
; CHECK-NEXT: Domain :=
; RUN: -disable-output < %s | \
; RUN: FileCheck %s
-; REQUIRES: pollyacc,nvptx
+; REQUIRES: pollyacc, target=nvptx{{.*}}
;
; void foo(float A[], int n) {
; for (long j = 0; j < n; j++)
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-; CHECK: define ptx_kernel void @kernel_0(i8* %MemRef_A, i32 %n)
+; CHECK: define ptx_kernel void @FUNC_foo_SCOP_0_KERNEL_0(i8 addrspace(1)* %MemRef_A, i32 %n)
define void @foo(float* %A, i32 %n) {
bb:
; RUN: -disable-output < %s | \
; RUN: FileCheck -check-prefix=IR %s
-; REQUIRES: pollyacc,nvptx
+; REQUIRES: pollyacc, target=nvptx{{.*}}
; void foo(long n, float A[][n]) {
; for (long i = 0; i < 32; i++)
; it was referenced from a SCEV or instruction that not part of any loop
; bound.
-; IR: %polly.access.mul.MemRef_A6 = mul nsw i64 {{.*}}, %n
+; IR: %polly.access.mul.MemRef_A = mul nsw i64 {{.*}}, %n
define void @foo(i64 %n, float* %A) {
bb:
; XFAIL: *
-; REQUIRES: pollyacc,nvptx
+; REQUIRES: pollyacc, target=nvptx{{.*}}
-; This fails today with "type mismatch between callee prototype and arguments"
+; This fails today with "LowerFormalArguments didn't emit the correct number of values!"
; void foo(fp128 A[], fp128 b) {
; for (long i = 0; i < 1024; i++)
; RUN: opt %loadPolly -polly-codegen-ppcg -polly-acc-dump-code -disable-output %s
-; REQUIRES: pollyacc,nvptx
-
-; This fails today with "unexpected type" in the LLVM PTX backend.
+; REQUIRES: pollyacc, target=nvptx{{.*}}
; void foo(half A[], half b) {
; for (long i = 0; i < 1024; i++)
; XFAIL: *
-; REQUIRES: pollyacc,nvptx
+; REQUIRES: pollyacc, target=nvptx{{.*}}
-; This fails today with "type mismatch between callee prototype and arguments"
+; This fails today with "Promotion is not suitable for scalars of size larger than 64-bits"
; void foo(i120 A[], i120 b) {
; for (long i = 0; i < 1024; i++)
; RUN: opt %loadPolly -polly-codegen-ppcg -polly-acc-dump-code -disable-output %s
-; XFAIL: *
-
-; REQUIRES: pollyacc,nvptx
-
-; This fails today with "LowerFormalArguments didn't emit the correct number of
-; values!"
+; REQUIRES: pollyacc, target=nvptx{{.*}}
; void foo(i128 A[], i128 b) {
; for (long i = 0; i < 1024; i++)
; XFAIL: *
-; REQUIRES: pollyacc,nvptx
+; REQUIRES: pollyacc, target=nvptx{{.*}}
-; This fails today with "LowerFormalArguments didn't emit the correct number of
-; values!"
+; This fails today with "Promotion is not suitable for scalars of size larger than 64-bits"
; void foo(i3000 A[], i3000 b) {
; for (long i = 0; i < 1024; i++)
; XFAIL: *
-; REQUIRES: pollyacc,nvptx
+; REQUIRES: pollyacc, target=nvptx{{.*}}
-; This fails today with "LowerFormalArguments didn't emit the correct number of
-; values!"
+; This fails today with "Promotion is not suitable for scalars of size larger than 64-bits"
; void foo(i80 A[], i80 b) {
; for (long i = 0; i < 1024; i++)
; XFAIL: *
-; REQUIRES: pollyacc,nvptx
+; REQUIRES: pollyacc, target=nvptx{{.*}}
-; This fails today with "type mismatch between callee prototype and arguments"
+; This fails today with "LowerFormalArguments didn't emit the correct number of values!"
; void foo(fp128 A[], fp128 b) {
; for (long i = 0; i < 1024; i++)
; XFAIL: *
-; REQUIRES: pollyacc,nvptx
+; REQUIRES: pollyacc, target=nvptx{{.*}}
-; This fails today with "type mismatch between callee prototype and arguments"
+; This fails today with "LowerFormalArguments didn't emit the correct number of values!"
; void foo(fp128 A[], fp128 b) {
; for (long i = 0; i < 1024; i++)
; RUN: -disable-output -polly-acc-dump-kernel-ir < %s | \
; RUN: FileCheck -check-prefix=KERNEL %s
-; REQUIRES: pollyacc,nvptx
+; XFAIL: *
+
+; REQUIRES: pollyacc, target=nvptx{{.*}}
+
+; This fails today due to extensive output differences from when the test was written.
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
; A[i] += b;
; }
;
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-
define void @float(float* %A, float %b) {
bb:
br label %bb1
; A[i] += b;
; }
;
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-
define void @double(double* %A, double %b) {
bb:
br label %bb1
; A[i] += b;
; }
;
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-
define void @i1(i1* %A, i1 %b) {
bb:
br label %bb1
; A[i] += b;
; }
;
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-
define void @i3(i3* %A, i3 %b) {
bb:
br label %bb1
; A[i] += b;
; }
;
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-
define void @i8(i8* %A, i8 %b) {
bb:
br label %bb1
; A[i] += b;
; }
;
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-
define void @i32(i32* %A, i32 %b) {
bb:
br label %bb1
; A[i] += b;
; }
;
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-
define void @i60(i60* %A, i60 %b) {
bb:
br label %bb1
; A[i] += b;
; }
;
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-
define void @i64(i64* %A, i64 %b) {
bb:
br label %bb1