Reland "[polly] Port polly tests to use NPM" (#92918)

Even as the NPM has been in use by Polly for a while now, the majority
of the tests continue using the LPM passes. This patch ports the tests
to use the NPM passes (for example, by replacing a flag such as
-polly-detect with -passes=polly-detect following the NPM syntax for
specifying passes) with some exceptions for some missing features in the
new passes.

Relanding #90632.
This commit is contained in:
rahulana-quic 2024-05-25 01:39:34 +05:30 committed by GitHub
parent 3ec57a7ed6
commit e1f056f692
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1018 changed files with 1386 additions and 1450 deletions

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @init_array() nounwind { define void @init_array() nounwind {

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-codegen -disable-output < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -disable-output < %s
; RUN: opt %loadPolly -polly-print-detect -disable-output < %s | not FileCheck %s ; RUN: opt %loadNPMPolly '-passes=print<polly-detect>' -disable-output < %s | not FileCheck %s
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @clause_SetSplitField(i32 %Length) nounwind inlinehint { define void @clause_SetSplitField(i32 %Length) nounwind inlinehint {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
@win193 = external global [4 x [36 x double]], align 32 ; <ptr> [#uses=3] @win193 = external global [4 x [36 x double]], align 32 ; <ptr> [#uses=3]

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-detect < %s ; RUN: opt %loadNPMPolly '-passes=print<polly-detect>' < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define fastcc void @execute() nounwind { define fastcc void @execute() nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @init_array() nounwind { define void @init_array() nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @fft_float(i32 %NumSamples) nounwind { define void @fft_float(i32 %NumSamples) nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define hidden void @luaD_callhook() nounwind { define hidden void @luaD_callhook() nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -disable-output < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -disable-output < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @matrixTranspose(ptr %A) nounwind { define void @matrixTranspose(ptr %A) nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -verify-dom-info -disable-output < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -verify-dom-info -disable-output < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @getNonAffNeighbour() nounwind { define void @getNonAffNeighbour() nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -verify-dom-info -disable-output < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -verify-dom-info -disable-output < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @intrapred_luma_16x16(i32 %predmode) nounwind { define void @intrapred_luma_16x16(i32 %predmode) nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-ast -disable-output < %s ; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s
;int bar1(); ;int bar1();
;int bar2(); ;int bar2();

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -disable-output < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -disable-output < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @cfft2(ptr %x) nounwind { define void @cfft2(ptr %x) nounwind {
entry: entry:

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -disable-output < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -disable-output < %s
target datalayout = target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @compdecomp() nounwind { define void @compdecomp() nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @Reflection_coefficients(ptr %r) nounwind { define void @Reflection_coefficients(ptr %r) nounwind {
bb20: bb20:

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @CleanNet() nounwind { define void @CleanNet() nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
define void @main() nounwind { define void @main() nounwind {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s ; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; CHECK: polly.start ; CHECK: polly.start

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
; We just check that this compilation does not crash. ; We just check that this compilation does not crash.

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
define void @list_sequence(ptr %A) { define void @list_sequence(ptr %A) {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s ; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; ;
; Check that we generate code without crashing. ; Check that we generate code without crashing.
; ;

View File

@ -1,6 +1,6 @@
; This test checks that we do not accidently mutate the debug info when ; This test checks that we do not accidently mutate the debug info when
; inserting loop parallel metadata. ; inserting loop parallel metadata.
; RUN: opt %loadPolly < %s -S -polly -polly-codegen -polly-ast-detect-parallel | FileCheck %s ; RUN: opt %loadNPMPolly < %s -S -polly -passes=polly-codegen -polly-ast-detect-parallel | FileCheck %s
; CHECK-NOT: !7 = !{!7} ; CHECK-NOT: !7 = !{!7}
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-ast-detect-parallel -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-ast-detect-parallel -S < %s | FileCheck %s
; ;
; Check that we mark multiple parallel loops correctly including the memory instructions. ; Check that we mark multiple parallel loops correctly including the memory instructions.
; ;

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s -check-prefix=SEQUENTIAL ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=SEQUENTIAL
; RUN: opt %loadPolly -polly-codegen -polly-ast-detect-parallel -S < %s | FileCheck %s -check-prefix=PARALLEL ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-ast-detect-parallel -S < %s | FileCheck %s -check-prefix=PARALLEL
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
; This is a trivially parallel loop. We just use it to ensure that we actually ; This is a trivially parallel loop. We just use it to ensure that we actually

View File

@ -1,4 +1,4 @@
; RUN: not --crash opt %loadPolly -polly-import-jscop -disable-output 2>&1 < %s | FileCheck %s ; RUN: not --crash opt %loadNPMPolly -passes=polly-import-jscop -disable-output 2>&1 < %s | FileCheck %s
; ;
; Check that we do not allow to access elements not accessed before because the ; Check that we do not allow to access elements not accessed before because the
; alignment information would become invalid. ; alignment information would become invalid.

View File

@ -1,4 +1,4 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen < %s -S | FileCheck %s ;RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed < %s -S | FileCheck %s
;int A[100]; ;int A[100];
; ;

View File

@ -1,4 +1,4 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen < %s -S | FileCheck %s ;RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed < %s -S | FileCheck %s
;int A[100]; ;int A[100];
; ;

View File

@ -1,4 +1,4 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen < %s -S | FileCheck %s ;RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed < %s -S | FileCheck %s
;int A[100]; ;int A[100];
; ;

View File

@ -1,4 +1,4 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen < %s -S | FileCheck %s ;RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed < %s -S | FileCheck %s
; ;
;float A[100]; ;float A[100];
; ;

View File

@ -1,5 +1,5 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed+withconst -polly-codegen < %s -S | FileCheck -check-prefix=WITHCONST %s ;RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed+withconst < %s -S | FileCheck -check-prefix=WITHCONST %s
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed+withoutconst -polly-codegen < %s -S | FileCheck -check-prefix=WITHOUTCONST %s ;RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed+withoutconst < %s -S | FileCheck -check-prefix=WITHOUTCONST %s
;int A[1040]; ;int A[1040];
; ;

View File

@ -1,5 +1,5 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed+withconst -polly-codegen < %s -S | FileCheck -check-prefix=WITHCONST %s ;RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed+withconst < %s -S | FileCheck -check-prefix=WITHCONST %s
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed+withoutconst -polly-codegen < %s -S | FileCheck -check-prefix=WITHOUTCONST %s ;RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed+withoutconst < %s -S | FileCheck -check-prefix=WITHOUTCONST %s
; ;
;float A[1040]; ;float A[1040];
; ;

View File

@ -1,6 +1,6 @@
; RUN: opt %loadPolly -polly-import-jscop \ ; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: \ ; RUN: \
; RUN: -polly-codegen -S < %s | FileCheck %s ; RUN: -S < %s | FileCheck %s
; ;
; void foo(float A[], float B[]) { ; void foo(float A[], float B[]) {
; for (long i = 0; i < 100; i++) ; for (long i = 0; i < 100; i++)

View File

@ -1,6 +1,6 @@
; RUN: opt %loadPolly -polly-codegen -polly-codegen-generate-expressions=false \ ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-codegen-generate-expressions=false \
; RUN: -S < %s | FileCheck %s -check-prefix=SCEV ; RUN: -S < %s | FileCheck %s -check-prefix=SCEV
; RUN: opt %loadPolly -polly-codegen -polly-codegen-generate-expressions=true \ ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-codegen-generate-expressions=true \
; RUN: -S < %s | FileCheck %s -check-prefix=ASTEXPR ; RUN: -S < %s | FileCheck %s -check-prefix=ASTEXPR
; ;
; void foo(float A[]) { ; void foo(float A[]) {

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-import-jscop \ ; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: -polly-codegen -polly-invariant-load-hoisting -S \ ; RUN: -polly-invariant-load-hoisting -S \
; RUN: 2>&1 < %s | FileCheck %s ; RUN: 2>&1 < %s | FileCheck %s
; Setting new access functions where the base pointer of the array that is newly ; Setting new access functions where the base pointer of the array that is newly

View File

@ -1,6 +1,6 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop \ ; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=polly-import-jscop,polly-codegen' \
; RUN: -polly-allow-differing-element-types \ ; RUN: -polly-allow-differing-element-types \
; RUN: -polly-codegen -S < %s | FileCheck %s ; RUN: -S < %s | FileCheck %s
; ;
; // Check that accessing one array with different types works. ; // Check that accessing one array with different types works.
; void multiple_types(char *Short, char *Float, char *Double) { ; void multiple_types(char *Short, char *Float, char *Double) {

View File

@ -1,4 +1,4 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -stats < %s 2>&1 | FileCheck %s ;RUN: opt %loadNPMPolly -passes=polly-import-jscop -polly-import-jscop-postfix=transformed -stats < %s 2>&1 | FileCheck %s
; REQUIRES: asserts ; REQUIRES: asserts
;int A[100]; ;int A[100];

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-import-jscop \ ; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: -polly-import-jscop-postfix=transformed -polly-codegen \ ; RUN: -polly-import-jscop-postfix=transformed \
; RUN: < %s -S | FileCheck %s ; RUN: < %s -S | FileCheck %s
; CHECK-LABEL: polly.stmt.loop1: ; CHECK-LABEL: polly.stmt.loop1:

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-parallel -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-parallel -S < %s | FileCheck %s
; ;
; void foo(float *A, float *B) { ; void foo(float *A, float *B) {
; for (long i = 0; i < 1000; i++) ; for (long i = 0; i < 1000; i++)

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-opt-isl -polly-opt-max-coefficient=-1 -polly-parallel -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -passes=polly-opt-isl -polly-opt-max-coefficient=-1 -polly-parallel -passes=polly-codegen -S < %s | FileCheck %s
; ;
; Check that we do not crash but generate parallel code ; Check that we do not crash but generate parallel code
; ;

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-opt-isl -polly-parallel -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly '-passes=polly-opt-isl,polly-codegen' -polly-parallel -S < %s | FileCheck %s
; llvm.org/PR51960 ; llvm.org/PR51960
; CHECK-LABEL: define internal void @foo_polly_subfn ; CHECK-LABEL: define internal void @foo_polly_subfn

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -polly-parallel \ ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-parallel \
; RUN: -polly-parallel-force -S < %s | FileCheck %s ; RUN: -polly-parallel-force -S < %s | FileCheck %s
; ;
; Test to verify that we hand down the preloaded A[0] to the OpenMP subfunction. ; Test to verify that we hand down the preloaded A[0] to the OpenMP subfunction.

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -polly-parallel \ ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-parallel \
; RUN: -polly-parallel-force -S < %s | FileCheck %s ; RUN: -polly-parallel-force -S < %s | FileCheck %s
; ;
; Test to verify that we hand down the preloaded A[0] to the OpenMP subfunction. ; Test to verify that we hand down the preloaded A[0] to the OpenMP subfunction.

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -polly-parallel \ ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-parallel \
; RUN: -polly-parallel-force -S < %s | FileCheck %s ; RUN: -polly-parallel-force -S < %s | FileCheck %s
; ;
; Test to verify that we hand down the preloaded A[0] to the OpenMP subfunction but ; Test to verify that we hand down the preloaded A[0] to the OpenMP subfunction but

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -polly-parallel \ ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-parallel \
; RUN: -polly-parallel-force -S < %s | FileCheck %s ; RUN: -polly-parallel-force -S < %s | FileCheck %s
; ;
; Test to verify that we hand down the preloaded A[0] to the OpenMP subfunction. ; Test to verify that we hand down the preloaded A[0] to the OpenMP subfunction.

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR
; This code has failed the scev based code generation as the scev in the scop ; This code has failed the scev based code generation as the scev in the scop
; contains an AddRecExpr of an outer loop. When generating code, we did not ; contains an AddRecExpr of an outer loop. When generating code, we did not

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR
; AST: #pragma simd ; AST: #pragma simd
; AST: #pragma omp parallel for ; AST: #pragma omp parallel for

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -basic-aa -polly-parallel -polly-parallel-force -polly-invariant-load-hoisting=true -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST ; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa -polly-parallel -polly-parallel-force -polly-invariant-load-hoisting=true '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; RUN: opt %loadPolly -basic-aa -polly-parallel -polly-parallel-force -polly-invariant-load-hoisting=true -polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa -polly-parallel -polly-parallel-force -polly-invariant-load-hoisting=true -passes=polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR
; The interesting part of this test case is the instruction: ; The interesting part of this test case is the instruction:
; %tmp = bitcast i8* %call to i64** ; %tmp = bitcast i8* %call to i64**

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -S < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=IR
; Make sure we correctly forward the reference to 'A' to the OpenMP subfunction. ; Make sure we correctly forward the reference to 'A' to the OpenMP subfunction.
; ;

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-parallel -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST ; RUN: opt %loadNPMPolly -polly-parallel '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; RUN: opt %loadPolly -polly-parallel -polly-codegen -S < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -polly-parallel -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=IR
; ;
; float A[100]; ; float A[100];
; ;

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-parallel -polly-delicm -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb -polly-parallel '-passes=polly-delicm,polly-codegen' -S < %s | FileCheck %s
; ;
; Verify that -polly-parallel can handle mapped scalar MemoryAccesses. ; Verify that -polly-parallel can handle mapped scalar MemoryAccesses.
; ;

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-parallel -polly-opt-isl -polly-ast -disable-output -debug-only=polly-ast < %s 2>&1 | FileCheck --check-prefix=AST %s ; RUN: opt %loadNPMPolly -polly-parallel '-passes=polly-opt-isl,print<polly-ast>' -disable-output -debug-only=polly-ast < %s 2>&1 | FileCheck --check-prefix=AST %s
; RUN: opt %loadPolly -polly-parallel -polly-opt-isl -polly-codegen -S < %s | FileCheck --check-prefix=CODEGEN %s ; RUN: opt %loadNPMPolly -polly-parallel '-passes=polly-opt-isl,polly-codegen' -S < %s | FileCheck --check-prefix=CODEGEN %s
; REQUIRES: asserts ; REQUIRES: asserts
; Parallelization of detected matrix-multiplication. ; Parallelization of detected matrix-multiplication.

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-codegen -polly-parallel \ ; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb -passes=polly-codegen -polly-parallel \
; RUN: -polly-parallel-force -S < %s | FileCheck %s ; RUN: -polly-parallel-force -S < %s | FileCheck %s
; ;
; Test to verify that we pass %rem96 to the parallel subfunction. ; Test to verify that we pass %rem96 to the parallel subfunction.

View File

@ -1,15 +1,15 @@
; RUN: opt %loadPolly -polly-parallel \ ; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen \ ; RUN: -polly-parallel-force -passes=polly-codegen \
; RUN: -S -verify-dom-info < %s \ ; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=IR ; RUN: | FileCheck %s -check-prefix=IR
; RUN: opt %loadPolly -polly-parallel \ ; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen -polly-scheduling=runtime \ ; RUN: -polly-parallel-force -passes=polly-codegen -polly-scheduling=runtime \
; RUN: -S -verify-dom-info < %s \ ; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=IR ; RUN: | FileCheck %s -check-prefix=IR
; RUN: opt %loadPolly -polly-parallel \ ; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen -polly-omp-backend=LLVM \ ; RUN: -polly-parallel-force -passes=polly-codegen -polly-omp-backend=LLVM \
; RUN: -S -verify-dom-info < %s \ ; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=LIBOMP-IR ; RUN: | FileCheck %s -check-prefix=LIBOMP-IR

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR
; IR: @foo_polly_subfn ; IR: @foo_polly_subfn
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR
; - Test the case where scalar evolution references a loop that is outside ; - Test the case where scalar evolution references a loop that is outside

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-delicm -polly-simplify -polly-parallel -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly '-passes=polly-delicm,polly-simplify,polly-codegen' -polly-parallel -S < %s | FileCheck %s
; ;
; Test that parallel codegen handles scalars mapped to other arrays. ; Test that parallel codegen handles scalars mapped to other arrays.
; After mapping "store double %add10" references the array "MemRef2". ; After mapping "store double %add10" references the array "MemRef2".

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly < %s -polly-vectorizer=stripmine -polly-parallel -polly-parallel-force -polly-process-unprofitable -polly-codegen -S | FileCheck %s ; RUN: opt %loadNPMPolly < %s -polly-vectorizer=stripmine -polly-parallel -polly-parallel-force -polly-process-unprofitable -passes=polly-codegen -S | FileCheck %s
; CHECK: define internal void @DoStringSort_polly_subfn ; CHECK: define internal void @DoStringSort_polly_subfn
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "aarch64-unknown-linux-gnueabi" target triple = "aarch64-unknown-linux-gnueabi"

View File

@ -1,14 +1,14 @@
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-import-jscop -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST-STRIDE4 ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=polly-import-jscop,print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST-STRIDE4
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-import-jscop -polly-codegen -S < %s | FileCheck %s -check-prefix=IR-STRIDE4 ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=polly-import-jscop,polly-codegen' -S < %s | FileCheck %s -check-prefix=IR-STRIDE4
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -polly-omp-backend=LLVM -polly-scheduling=static -polly-scheduling-chunksize=43 -S -verify-dom-info < %s | FileCheck %s -check-prefix=LIBOMP-IR-STATIC-CHUNKED ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -polly-omp-backend=LLVM -polly-scheduling=static -polly-scheduling-chunksize=43 -S -verify-dom-info < %s | FileCheck %s -check-prefix=LIBOMP-IR-STATIC-CHUNKED
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -polly-omp-backend=LLVM -polly-scheduling=static -S -verify-dom-info < %s | FileCheck %s -check-prefix=LIBOMP-IR-STATIC ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -polly-omp-backend=LLVM -polly-scheduling=static -S -verify-dom-info < %s | FileCheck %s -check-prefix=LIBOMP-IR-STATIC
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -polly-omp-backend=LLVM -polly-scheduling=dynamic -S -verify-dom-info < %s | FileCheck %s -check-prefix=LIBOMP-IR-DYNAMIC ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -polly-omp-backend=LLVM -polly-scheduling=dynamic -S -verify-dom-info < %s | FileCheck %s -check-prefix=LIBOMP-IR-DYNAMIC
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -polly-omp-backend=LLVM -polly-scheduling=dynamic -polly-scheduling-chunksize=4 -S -verify-dom-info < %s | FileCheck %s -check-prefix=LIBOMP-IR-DYNAMIC-FOUR ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -polly-omp-backend=LLVM -polly-scheduling=dynamic -polly-scheduling-chunksize=4 -S -verify-dom-info < %s | FileCheck %s -check-prefix=LIBOMP-IR-DYNAMIC-FOUR
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-import-jscop -polly-codegen -polly-omp-backend=LLVM -S < %s | FileCheck %s -check-prefix=LIBOMP-IR-STRIDE4 ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=polly-import-jscop,polly-codegen' -polly-omp-backend=LLVM -S < %s | FileCheck %s -check-prefix=LIBOMP-IR-STRIDE4
; This extensive test case tests the creation of the full set of OpenMP calls ; This extensive test case tests the creation of the full set of OpenMP calls
; as well as the subfunction creation using a trivial loop as example. ; as well as the subfunction creation using a trivial loop as example.

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -tbaa -polly-parallel -polly-parallel-force -polly-parallel-force -polly-invariant-load-hoisting=true -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST ; RUN: opt %loadNPMPolly -aa-pipeline=tbaa -polly-parallel -polly-parallel-force -polly-parallel-force -polly-invariant-load-hoisting=true '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; RUN: opt %loadPolly -tbaa -polly-parallel -polly-parallel-force -polly-parallel-force -polly-invariant-load-hoisting=true -polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -aa-pipeline=tbaa -polly-parallel -polly-parallel-force -polly-parallel-force -polly-invariant-load-hoisting=true -passes=polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR
; #define N 1024 ; #define N 1024
; float A[N]; ; float A[N];

View File

@ -1,15 +1,15 @@
; RUN: opt %loadPolly -polly-parallel \ ; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen \ ; RUN: -polly-parallel-force -passes=polly-codegen \
; RUN: -S -verify-dom-info < %s \ ; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=IR ; RUN: | FileCheck %s -check-prefix=IR
; RUN: opt %loadPolly -polly-parallel \ ; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen -polly-omp-backend=LLVM \ ; RUN: -polly-parallel-force -passes=polly-codegen -polly-omp-backend=LLVM \
; RUN: -S -verify-dom-info < %s \ ; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=LIBOMP-IR ; RUN: | FileCheck %s -check-prefix=LIBOMP-IR
; RUN: opt %loadPolly -polly-parallel \ ; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen -polly-omp-backend=LLVM \ ; RUN: -polly-parallel-force -passes=polly-codegen -polly-omp-backend=LLVM \
; RUN: -polly-scheduling=static \ ; RUN: -polly-scheduling=static \
; RUN: -S -verify-dom-info < %s \ ; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=LIBOMP-STATIC-IR ; RUN: | FileCheck %s -check-prefix=LIBOMP-STATIC-IR

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=AST ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR ; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -passes=polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR
; This test case verifies that we create correct code even if two OpenMP loops ; This test case verifies that we create correct code even if two OpenMP loops
; share common outer variables. ; share common outer variables.

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
%struct..0__pthread_mutex_s = type { i32, i32, i32, i32, i32, i32, %struct.__pthread_list_t } %struct..0__pthread_mutex_s = type { i32, i32, i32, i32, i32, i32, %struct.__pthread_list_t }

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S \ ; RUN: opt %loadNPMPolly -passes=polly-codegen -S \
; RUN: -polly-codegen-add-debug-printing \ ; RUN: -polly-codegen-add-debug-printing \
; RUN: -polly-ignore-aliasing < %s | FileCheck %s ; RUN: -polly-ignore-aliasing < %s | FileCheck %s

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen-trace-stmts -polly-codegen-trace-scalars -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -polly-codegen-trace-stmts -polly-codegen-trace-scalars -passes=polly-codegen -S < %s | FileCheck %s
; ;
define void @func(i32 %n, ptr %A) { define void @func(i32 %n, ptr %A) {

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen \ ; RUN: opt %loadNPMPolly -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s ; RUN: -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-ignore-aliasing -S < %s \ ; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-ignore-aliasing -S < %s \
; RUN: | FileCheck %s ; RUN: | FileCheck %s
; ;
; void manyarrays(float A1[], float A2[], float A3[], float A4[], float A5[], ; void manyarrays(float A1[], float A2[], float A3[], float A4[], float A5[],

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s ; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; ;
; We have to cast %B to "short *" before we create RTCs. ; We have to cast %B to "short *" before we create RTCs.
; ;

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
; ;
; Check that we cast the different pointer types correctly before we compare ; Check that we cast the different pointer types correctly before we compare
; them in the RTC's. We use i8* as max pointer type. ; them in the RTC's. We use i8* as max pointer type.

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s ; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; ;
; Check that we calculate the maximal access into array A correctly and track the overflow state. ; Check that we calculate the maximal access into array A correctly and track the overflow state.
; ;

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
; ;
; void jd(int *A, int *B, int c) { ; void jd(int *A, int *B, int c) {
; for (int i = 0; i < 1024; i++) ; for (int i = 0; i < 1024; i++)

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
; ;
; void jd(int *A, int *B, int c) { ; void jd(int *A, int *B, int c) {
; for (int i = 0; i < 1024; i++) ; for (int i = 0; i < 1024; i++)

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s ; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; ;
; We should only access (or compute the address of) "the first element" of %S ; We should only access (or compute the address of) "the first element" of %S
; as it is a single struct not a struct array. The maximal access to S, thus ; as it is a single struct not a struct array. The maximal access to S, thus

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
; ;
; Check that the special alignment information is kept ; Check that the special alignment information is kept
; ;

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s --check-prefix=SCOPES ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s --check-prefix=SCOPES
; ;
; Check that we create alias scopes that indicate the accesses to A, B and C cannot alias in any way. ; Check that we create alias scopes that indicate the accesses to A, B and C cannot alias in any way.
; ;

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
; ;
; Regression test for a bug in the runtime check generation. ; Regression test for a bug in the runtime check generation.

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-process-unprofitable -polly-codegen -disable-output < %s ; RUN: opt %loadNPMPolly -polly-process-unprofitable -passes=polly-codegen -disable-output < %s
; ;
; CHECK: store i32 %tmp14_p_scalar_, ptr %tmp14.s2a ; CHECK: store i32 %tmp14_p_scalar_, ptr %tmp14.s2a
; CHECK: %tmp14.final_reload = load i32, ptr %tmp14.s2a ; CHECK: %tmp14.final_reload = load i32, ptr %tmp14.s2a

View File

@ -1,4 +1,4 @@
;RUN: opt %loadPolly -polly-prepare -polly-print-ast -disable-output < %s | FileCheck %s ;RUN: opt %loadNPMPolly '-passes=polly-prepare,scop(print<polly-ast>)' -disable-output < %s 2>&1 | FileCheck %s
;#include <string.h> ;#include <string.h>
;int A[1]; ;int A[1];

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-codegen -verify-loop-info < %s -S | FileCheck %s ; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa -passes=polly-codegen -verify-loop-info < %s -S | FileCheck %s
target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32" target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
; ;
; Check we do not crash even though the dead %tmp8 is referenced by a parameter ; Check we do not crash even though the dead %tmp8 is referenced by a parameter
; and we do not pre-load it (as it is dead). ; and we do not pre-load it (as it is dead).

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
; ;
; Check we do not crash even though there is a dead load that is referenced by ; Check we do not crash even though there is a dead load that is referenced by
; a parameter and we do not pre-load it (as it is dead). ; a parameter and we do not pre-load it (as it is dead).

View File

@ -1,9 +1,9 @@
; RUN: opt %loadPolly \ ; RUN: opt %loadNPMPolly \
; RUN: -polly-analyze-read-only-scalars=false -polly-codegen -S < %s | \ ; RUN: -polly-analyze-read-only-scalars=false -passes=polly-codegen -S < %s | \
; RUN: FileCheck %s ; RUN: FileCheck %s
; RUN: opt %loadPolly \ ; RUN: opt %loadNPMPolly \
; RUN: -polly-analyze-read-only-scalars=true -polly-codegen -S < %s | \ ; RUN: -polly-analyze-read-only-scalars=true -passes=polly-codegen -S < %s | \
; RUN: FileCheck %s ; RUN: FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -disable-output < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -disable-output < %s
; ;
; This caused dominance problems at some point as we do bail out during ; This caused dominance problems at some point as we do bail out during
; code generation. Just verify it runs through. ; code generation. Just verify it runs through.

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-optree -polly-opt-isl -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly '-passes=polly-optree,polly-opt-isl,polly-codegen' -S < %s | FileCheck %s
; ;
; llvm.org/PR35362 ; llvm.org/PR35362
; isl codegen does not allow to generate isl_ast_expr from pw_aff which have an ; isl codegen does not allow to generate isl_ast_expr from pw_aff which have an

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s
; ;
; The entry of this scop's simple region (entry.split => for.end) has an trivial ; The entry of this scop's simple region (entry.split => for.end) has an trivial
; PHI node. LCSSA may create such PHI nodes. This is a breakdown of this case in ; PHI node. LCSSA may create such PHI nodes. This is a breakdown of this case in

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
; ;
; The entry of this scop's simple region (entry.split => for.end) has an trivial ; The entry of this scop's simple region (entry.split => for.end) has an trivial
; PHI node that is used in a different of the scop region. LCSSA may create such ; PHI node that is used in a different of the scop region. LCSSA may create such

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s ; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; XFAIL: * ; XFAIL: *
; ;
; CHECK-LABEL: polly.stmt.if.then: ; CHECK-LABEL: polly.stmt.if.then:

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen < %s ; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
; ;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

View File

@ -1,7 +1,7 @@
; RUN: opt %loadPolly -polly-import-jscop \ ; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: -polly-codegen -S < %s | FileCheck %s ; RUN: -S < %s | FileCheck %s
; RUN: opt %loadPolly -polly-import-jscop \ ; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: -polly-codegen -polly-import-jscop-postfix=pow2 \ ; RUN: -polly-import-jscop-postfix=pow2 \
; RUN: -S < %s | FileCheck %s -check-prefix=POW2 ; RUN: -S < %s | FileCheck %s -check-prefix=POW2
; ;
; void exprModDiv(float *A, float *B, float *C, long N, long p) { ; void exprModDiv(float *A, float *B, float *C, long N, long p) {

View File

@ -1,6 +1,6 @@
; RUN: opt %loadPolly -S -polly-codegen \ ; RUN: opt %loadNPMPolly -S -passes=polly-codegen \
; RUN: -polly-invariant-load-hoisting=false < %s | FileCheck %s ; RUN: -polly-invariant-load-hoisting=false < %s | FileCheck %s
; RUN: opt %loadPolly -S -polly-codegen \ ; RUN: opt %loadNPMPolly -S -passes=polly-codegen \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s ; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s
; ;
; Check that we generate valid code even if the load of cont_STACKPOINTER is ; Check that we generate valid code even if the load of cont_STACKPOINTER is

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -tbaa -polly-codegen -polly-allow-differing-element-types -disable-output %s ; RUN: opt %loadNPMPolly -aa-pipeline=tbaa -passes=polly-codegen -polly-allow-differing-element-types -disable-output %s
; ;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -tbaa -polly-codegen -polly-allow-differing-element-types -disable-output %s ; RUN: opt %loadNPMPolly -aa-pipeline=tbaa -passes=polly-codegen -polly-allow-differing-element-types -disable-output %s
; ;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s ; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s
; ;
; Excerpt from the test-suite's oggenc reduced using bugpoint. ; Excerpt from the test-suite's oggenc reduced using bugpoint.
; ;

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s ; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; ;
; The SCEV expression in this test case refers to a sequence of sdiv ; The SCEV expression in this test case refers to a sequence of sdiv
; instructions, which are part of different bbs in the SCoP. When code ; instructions, which are part of different bbs in the SCoP. When code

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s ; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; ;
; This test case has a inner SCEV sdiv that will escape the SCoP. Just check we ; This test case has a inner SCEV sdiv that will escape the SCoP. Just check we
; do not crash and generate valid code. ; do not crash and generate valid code.

View File

@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-scops -disable-output < %s | FileCheck %s ; RUN: opt %loadNPMPolly '-passes=print<polly-function-scops>' -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN ; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN
; ;
; CHECK: [N] -> { Stmt_bb11[i0, i1] : i0 < N and i1 >= 0 and 3i1 <= -3 + i0 }; ; CHECK: [N] -> { Stmt_bb11[i0, i1] : i0 < N and i1 >= 0 and 3i1 <= -3 + i0 };
; CODEGEN: polly ; CODEGEN: polly

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen \ ; RUN: opt %loadNPMPolly -S -passes=polly-codegen \
; RUN: < %s | FileCheck %s ; RUN: < %s | FileCheck %s
; ;
; Check that this will not crash our code generation. ; Check that this will not crash our code generation.

View File

@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen \ ; RUN: opt %loadNPMPolly -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s ; RUN: -S < %s | FileCheck %s
; ;
; This will just check that we generate valid code here. ; This will just check that we generate valid code here.

Some files were not shown because too many files have changed in this diff Show More