4 changes: 2 additions & 2 deletions polly/test/CodeGen/OpenMP/matmul-parallel.ll
Original file line number Diff line number Diff line change
@@ -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 %loadPolly -polly-parallel -polly-opt-isl -polly-codegen -S < %s | FileCheck --check-prefix=CODEGEN %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 %loadNPMPolly -polly-parallel '-passes=polly-opt-isl,polly-codegen' -S < %s | FileCheck --check-prefix=CODEGEN %s
; REQUIRES: asserts

; Parallelization of detected matrix-multiplication.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/OpenMP/recomputed-srem.ll
Original file line number Diff line number Diff line change
@@ -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
;
; Test to verify that we pass %rem96 to the parallel subfunction.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
; RUN: opt %loadPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen \
; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -passes=polly-codegen \
; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=IR

; RUN: opt %loadPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen -polly-scheduling=runtime \
; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -passes=polly-codegen -polly-scheduling=runtime \
; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=IR

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

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/OpenMP/reference-other-bb.ll
Original file line number Diff line number Diff line change
@@ -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
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/OpenMP/reference-preceeding-loop.ll
Original file line number Diff line number Diff line change
@@ -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 %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=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; 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
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/OpenMP/reference_latest.ll
Original file line number Diff line number Diff line change
@@ -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.
; After mapping "store double %add10" references the array "MemRef2".
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/OpenMP/scev-rewriting.ll
Original file line number Diff line number Diff line change
@@ -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
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "aarch64-unknown-linux-gnueabi"
Expand Down
18 changes: 9 additions & 9 deletions polly/test/CodeGen/OpenMP/single_loop.ll
Original file line number Diff line number Diff line change
@@ -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 %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=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; 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 %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,print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST-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 %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 %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 %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 %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-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 -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=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 -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-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
; as well as the subfunction creation using a trivial loop as example.
Expand Down
Original file line number Diff line number Diff line change
@@ -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 %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=print<polly-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=polly-codegen -S -verify-dom-info < %s | FileCheck %s -check-prefix=IR

; #define N 1024
; float A[N];
Expand Down
12 changes: 6 additions & 6 deletions polly/test/CodeGen/OpenMP/single_loop_with_param.ll
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
; RUN: opt %loadPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen \
; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -passes=polly-codegen \
; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=IR

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

; RUN: opt %loadPolly -polly-parallel \
; RUN: -polly-parallel-force -polly-codegen -polly-omp-backend=LLVM \
; RUN: opt %loadNPMPolly -polly-parallel \
; RUN: -polly-parallel-force -passes=polly-codegen -polly-omp-backend=LLVM \
; RUN: -polly-scheduling=static \
; RUN: -S -verify-dom-info < %s \
; RUN: | FileCheck %s -check-prefix=LIBOMP-STATIC-IR
Expand Down
Original file line number Diff line number Diff line change
@@ -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 %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=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=AST
; 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
; share common outer variables.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/PHIInExit.ll
Original file line number Diff line number Diff line change
@@ -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"

%struct..0__pthread_mutex_s = type { i32, i32, i32, i32, i32, i32, %struct.__pthread_list_t }
Expand Down
Original file line number Diff line number Diff line change
@@ -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-ignore-aliasing < %s | FileCheck %s

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/RuntimeDebugBuilder/stmt_tracing.ll
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/alias-check-multi-dim.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen \
; RUN: opt %loadNPMPolly -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/alias_metadata_too_many_arrays.ll
Original file line number Diff line number Diff line change
@@ -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
;
; void manyarrays(float A1[], float A2[], float A3[], float A4[], float A5[],
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/aliasing_different_pointer_types.ll
Original file line number Diff line number Diff line change
@@ -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
; them in the RTC's. We use i8* as max pointer type.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/aliasing_multidimensional_access.ll
Original file line number Diff line number Diff line change
@@ -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.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/aliasing_parametric_simple_1.ll
Original file line number Diff line number Diff line change
@@ -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) {
; for (int i = 0; i < 1024; i++)
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/aliasing_parametric_simple_2.ll
Original file line number Diff line number Diff line change
@@ -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) {
; for (int i = 0; i < 1024; i++)
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/aliasing_struct_element.ll
Original file line number Diff line number Diff line change
@@ -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
; as it is a single struct not a struct array. The maximal access to S, thus
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/alignment.ll
Original file line number Diff line number Diff line change
@@ -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
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/annotated_alias_scopes.ll
Original file line number Diff line number Diff line change
@@ -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.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/blas_sscal_simplified.ll
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
Original file line number Diff line number Diff line change
@@ -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: %tmp14.final_reload = load i32, ptr %tmp14.s2a
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/constant_condition.ll
Original file line number Diff line number Diff line change
@@ -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>
;int A[1];
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/create-conditional-scop.ll
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
Original file line number Diff line number Diff line change
@@ -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
; and we do not pre-load it (as it is dead).
Expand Down
Original file line number Diff line number Diff line change
@@ -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
; a parameter and we do not pre-load it (as it is dead).
Expand Down
8 changes: 4 additions & 4 deletions polly/test/CodeGen/debug-intrinsics.ll
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
; RUN: opt %loadPolly \
; RUN: -polly-analyze-read-only-scalars=false -polly-codegen -S < %s | \
; RUN: opt %loadNPMPolly \
; RUN: -polly-analyze-read-only-scalars=false -passes=polly-codegen -S < %s | \
; RUN: FileCheck %s

; RUN: opt %loadPolly \
; RUN: -polly-analyze-read-only-scalars=true -polly-codegen -S < %s | \
; RUN: opt %loadNPMPolly \
; RUN: -polly-analyze-read-only-scalars=true -passes=polly-codegen -S < %s | \
; RUN: FileCheck %s

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Expand Down
Original file line number Diff line number Diff line change
@@ -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
; code generation. Just verify it runs through.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/empty_domain_in_context.ll
Original file line number Diff line number Diff line change
@@ -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
; isl codegen does not allow to generate isl_ast_expr from pw_aff which have an
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/entry_with_trivial_phi.ll
Original file line number Diff line number Diff line change
@@ -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
; PHI node. LCSSA may create such PHI nodes. This is a breakdown of this case in
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/entry_with_trivial_phi_other_bb.ll
Original file line number Diff line number Diff line change
@@ -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
; PHI node that is used in a different of the scop region. LCSSA may create such
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/error-stmt-in-non-affine-region.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; XFAIL: *
;
; CHECK-LABEL: polly.stmt.if.then:
Expand Down
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
8 changes: 4 additions & 4 deletions polly/test/CodeGen/exprModDiv.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
; RUN: opt %loadPolly -polly-import-jscop \
; RUN: -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadPolly -polly-import-jscop \
; RUN: -polly-codegen -polly-import-jscop-postfix=pow2 \
; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: -polly-import-jscop-postfix=pow2 \
; RUN: -S < %s | FileCheck %s -check-prefix=POW2
;
; void exprModDiv(float *A, float *B, float *C, long N, long p) {
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/hoisted_load_escapes_through_phi.ll
Original file line number Diff line number Diff line change
@@ -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: opt %loadPolly -S -polly-codegen \
; RUN: opt %loadNPMPolly -S -passes=polly-codegen \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s
;
; Check that we generate valid code even if the load of cont_STACKPOINTER is
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/hoisting_1.ll
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/hoisting_2.ll
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/inner_scev_sdiv_1.ll
Original file line number Diff line number Diff line change
@@ -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.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/inner_scev_sdiv_2.ll
Original file line number Diff line number Diff line change
@@ -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
; instructions, which are part of different bbs in the SCoP. When code
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/inner_scev_sdiv_3.ll
Original file line number Diff line number Diff line change
@@ -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
; do not crash and generate valid code.
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/inner_scev_sdiv_in_lb.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-scops -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN
; RUN: opt %loadNPMPolly '-passes=print<polly-function-scops>' -disable-output < %s 2>&1 | FileCheck %s
; 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 };
; CODEGEN: polly
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/inner_scev_sdiv_in_lb_invariant.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen \
; RUN: opt %loadNPMPolly -S -passes=polly-codegen \
; RUN: < %s | FileCheck %s
;
; Check that this will not crash our code generation.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/inner_scev_sdiv_in_rtc.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen \
; RUN: opt %loadNPMPolly -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s
;
; This will just check that we generate valid code here.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/intrinsics_lifetime.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa -passes=polly-codegen -S < %s | FileCheck %s
;
; Verify that we remove the lifetime markers from everywhere.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/intrinsics_misc.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa -passes=polly-codegen -S < %s | FileCheck %s
;
; Verify that we remove the misc intrinsics from the optimized SCoP.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/inv-load-lnt-crash-wrong-order-2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S \
; RUN: opt %loadNPMPolly -passes=polly-codegen -S \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s
;
; This crashed our codegen at some point, verify it runs through
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/inv-load-lnt-crash-wrong-order-3.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S \
; RUN: opt %loadNPMPolly -passes=polly-codegen -S \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s
;
; This crashed our codegen at some point, verify it runs through
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/inv-load-lnt-crash-wrong-order.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S \
; RUN: opt %loadNPMPolly -passes=polly-codegen -S \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s
;
; This crashed our codegen at some point, verify it runs through
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/invariant-load-dimension.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-process-unprofitable -polly-invariant-load-hoisting -polly-print-scops -disable-output < %s | FileCheck %s -check-prefix=SCOPS
; RUN: opt %loadPolly -S < %s -polly-codegen -polly-process-unprofitable -polly-invariant-load-hoisting | FileCheck %s -check-prefix=CODEGEN
; RUN: opt %loadNPMPolly -polly-process-unprofitable -polly-invariant-load-hoisting '-passes=print<polly-function-scops>' -disable-output < %s 2>&1 | FileCheck %s -check-prefix=SCOPS
; RUN: opt %loadNPMPolly -S < %s -passes=polly-codegen -polly-process-unprofitable -polly-invariant-load-hoisting | FileCheck %s -check-prefix=CODEGEN

target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n8:16:32-S64"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen -polly-invariant-load-hoisting=true < %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen -polly-invariant-load-hoisting=true < %s
;
; Check that we generate valid code as we did non preload the base pointer
; origin of %tmp4 at some point.
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/invariant_cannot_handle_void.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-invariant-load-hoisting=true -polly-print-scops -disable-output < %s | FileCheck %s --check-prefix=SCOP
; RUN: opt %loadPolly -S -polly-codegen -polly-invariant-load-hoisting=true %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-invariant-load-hoisting=true '-passes=print<polly-function-scops>' -disable-output < %s 2>&1 | FileCheck %s --check-prefix=SCOP
; RUN: opt %loadNPMPolly -S -passes=polly-codegen -polly-invariant-load-hoisting=true %s | FileCheck %s
;
; The offset of the %tmp1 load wrt. to %buff (62 bytes) is not divisible
; by the type size (i32 = 4 bytes), thus we will have to represent %buff
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
;
; CHECK-LABEL: polly.preload.begin:
; CHECK-NEXT: %polly.access.B = getelementptr i32, ptr %B, i64 0
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_address_space.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
;
; CHECK-LABEL: polly.preload.begin:
; CHECK-NEXT: %polly.access.B = getelementptr i32, ptr addrspace(1) %B, i64 0
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_alias_metadata.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true \
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true \
; RUN: -S < %s | FileCheck %s
;
; This test case checks whether Polly generates alias metadata in case of
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_base_pointer.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -polly-ignore-aliasing -polly-process-unprofitable -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-ignore-aliasing -polly-process-unprofitable -S < %s | FileCheck %s
;
; CHECK-LABEL: polly.preload.begin:
; CHECK-NEXT: %polly.access.BPLoc = getelementptr ptr, ptr %BPLoc, i64 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -polly-ignore-aliasing -polly-process-unprofitable -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-ignore-aliasing -polly-process-unprofitable -S < %s | FileCheck %s
;
; CHECK-LABEL: polly.preload.begin:
; CHECK-NEXT: %0 = sext i32 %N to i64
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; RUN: opt %loadPolly -polly-invariant-load-hoisting=true -polly-print-scops -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -S -polly-codegen -polly-invariant-load-hoisting=true < %s | FileCheck %s --check-prefix=IR
; RUN: opt %loadPolly -S -polly-codegen -polly-invariant-load-hoisting=true --polly-overflow-tracking=always < %s | FileCheck %s --check-prefix=IRA
; RUN: opt %loadNPMPolly -polly-invariant-load-hoisting=true '-passes=print<polly-function-scops>' -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen -polly-invariant-load-hoisting=true < %s | FileCheck %s --check-prefix=IR
; RUN: opt %loadNPMPolly -S -passes=polly-codegen -polly-invariant-load-hoisting=true --polly-overflow-tracking=always < %s | FileCheck %s --check-prefix=IRA
;
; As (p + q) can overflow we have to check that we load from
; I[p + q] only if it does not.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s \
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s \
; RUN: -polly-invariant-load-hoisting \
; RUN: | FileCheck %s

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_condition.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-process-unprofitable -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-process-unprofitable -passes=polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
;
; CHECK-LABEL: polly.preload.begin:
; CHECK-NEXT: %polly.access.C = getelementptr i32, ptr %C, i64 0
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_different_sized_types.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -S \
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -S \
; RUN: -polly-allow-differing-element-types < %s | FileCheck %s

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_escaping.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
;
; int f(int *A, int *B) {
; // Possible aliasing between A and B but if not then *B would be
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_escaping_second_scop.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -polly-process-unprofitable -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-process-unprofitable -S < %s | FileCheck %s
;
; void fence(void);
;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
;
; This crashed at some point as the invariant load is in a non-affine
; subregion. Just check it does not anymore.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_loop_ub.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -polly-process-unprofitable -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-process-unprofitable -S < %s | FileCheck %s
;
; CHECK: polly.start
;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -disable-output < %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -disable-output < %s
;
; Check that this does not crash as the invariant load is not executed (thus
; not preloaded) but still referenced by one of the parameters.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_outermost.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s

; CHECK: polly.start

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-scops -polly-invariant-load-hoisting=true -disable-output < %s | FileCheck %s --check-prefix=SCOP
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-function-scops>' -polly-invariant-load-hoisting=true -disable-output < %s 2>&1 | FileCheck %s --check-prefix=SCOP
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
;
; SCOP: Assumed Context:
; SCOP-NEXT: [p_0, tmp4] -> { : }
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_ptr_ptr_noalias.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-process-unprofitable -polly-codegen -polly-invariant-load-hoisting=true -polly-ignore-aliasing -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-process-unprofitable -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-ignore-aliasing -S < %s | FileCheck %s
;
; CHECK-LABEL: polly.preload.begin:
; CHECK: %polly.access.A = getelementptr ptr, ptr %A, i64 42
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_load_scalar_dep.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -polly-ignore-aliasing -polly-process-unprofitable -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -polly-ignore-aliasing -polly-process-unprofitable -S < %s | FileCheck %s
;
; CHECK-LABEL: polly.preload.begin:
; CHECK: %polly.access.B = getelementptr i32, ptr %B, i64 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
;
; Verify the preloaded %tmp0 is stored and communicated in the same alloca.
; In this case, we do not reload %ncol.load from the scalar stack slot, but
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true < %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true < %s
;
; Check we do not crash even though we pre-load values with different types
; from the same base pointer.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting=true < %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting=true < %s
;
; Check we do not crash even though we pre-load values with different types
; from the same base pointer.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-invariant-load-hoisting \
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-invariant-load-hoisting \
; RUN: -polly-ignore-parameter-bounds -S < %s | FileCheck %s

; CHECK: polly.preload.begin:
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/invariant_verify_function_failed.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-detect -polly-codegen -polly-invariant-load-hoisting=true -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-detect>,scop(polly-codegen)' -polly-invariant-load-hoisting=true -disable-output < %s 2>&1 | FileCheck %s
;
; This crashed at some point as the pointer returned by the call
; to @__errno_location is invariant and defined in the SCoP but not
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/invariant_verify_function_failed_2.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -S -polly-print-scops -polly-invariant-load-hoisting=true -disable-output < %s | FileCheck %s -check-prefix=SCOPS
; RUN: opt %loadPolly -S -polly-codegen -polly-invariant-load-hoisting=true %s | FileCheck %s
; RUN: opt %loadNPMPolly -S '-passes=print<polly-function-scops>' -polly-invariant-load-hoisting=true -disable-output < %s 2>&1 | FileCheck %s -check-prefix=SCOPS
; RUN: opt %loadNPMPolly -S -passes=polly-codegen -polly-invariant-load-hoisting=true %s | FileCheck %s
;
; Check we generate valid code.

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/issue56692.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-parallel -polly-parallel-force -polly-omp-backend=LLVM -polly-codegen-verify -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-parallel -polly-parallel-force -polly-omp-backend=LLVM -polly-codegen-verify -passes=polly-codegen -S < %s | FileCheck %s
; https://github.com/llvm/llvm-project/issues/56692
;
; CHECK: call void (ptr, i32, ptr, ...) @__kmpc_fork_call({{.*}}), !dbg ![[OPTLOC:[0-9]+]]
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/large-numbers-in-boundary-context.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
; XFAIL: *
;
; The boundary context contains a constant that does not fit in 64 bits. Hence,
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/load_subset_with_context.ll
Original file line number Diff line number Diff line change
@@ -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
;
; A load must provide a value for every statement instance.
; Statement instances not in the SCoP's context are irrelevant.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/loop-invariant-load-type-mismatch.ll
Original file line number Diff line number Diff line change
@@ -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 triple = "x86_64-unknown-linux-gnu"
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/loop_with_condition.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s

;#include <string.h>
;#define N 1024
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/loop_with_condition_2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-print-ast -polly-ast-detect-parallel -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa '-passes=print<polly-ast>' -polly-ast-detect-parallel -disable-output < %s | FileCheck %s

; Verify that we actually detect this loop as the innermost loop even though
; there is a conditional inside.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/loop_with_condition_ineq.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s

;#include <string.h>
;#define N 1024
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/loop_with_condition_nested.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -basic-aa -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -basic-aa -polly-codegen < %s | opt -passes='print<loops>' -disable-output 2>&1 | FileCheck %s -check-prefix=LOOPS
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa -passes=polly-codegen < %s | opt -passes='print<loops>' -disable-output 2>&1 | FileCheck %s -check-prefix=LOOPS


;#include <string.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; Test case to trigger the hard way of creating a unique entering
; edge for the SCoP. It is triggered because the entering edge
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/memcpy_annotations.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; Verify that @llvm.memcpy does not get a !alias.scope annotation.
; @llvm.memcpy takes two pointers, it is ambiguous to which the
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/multidim-non-matching-typesize-2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -disable-basic-aa -polly-codegen \
; RUN: opt %loadNPMPolly -disable-basic-aa -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s
; CHECK: polly
target datalayout = "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128"
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/multidim-non-matching-typesize.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -disable-basic-aa -polly-codegen \
; RUN: opt %loadNPMPolly -disable-basic-aa -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s

target datalayout = "e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128"
Expand Down
Original file line number Diff line number Diff line change
@@ -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-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"

; Derived from the following code:
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/multidim_alias_check.ll
Original file line number Diff line number Diff line change
@@ -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"

; CHECK: %polly.access.sext.A = sext i32 %n to i64
Expand Down
1 change: 0 additions & 1 deletion polly/test/CodeGen/multiple-codegens.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
; RUN: opt %loadPolly -polly-scops -polly-opt-isl -polly-codegen -polly-scops -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly "-passes=scop(polly-opt-isl,polly-codegen,polly-codegen)" -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly "-passes=scop(polly-opt-isl,polly-codegen),scop(polly-codegen)" -S < %s | FileCheck %s
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/multiple-scops-in-a-row.ll
Original file line number Diff line number Diff line change
@@ -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 two scops in a row. When code generating the first scop,
; the second scop is invalidated. This test case verifies that we do not crash
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/multiple-types-invariant-load-2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S \
; RUN: opt %loadNPMPolly -passes=polly-codegen -S \
; RUN: -polly-allow-differing-element-types < %s | FileCheck %s

; CHECK: polly
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/multiple-types-invariant-load.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-allow-differing-element-types -polly-codegen -S \
; RUN: opt %loadNPMPolly -polly-allow-differing-element-types -passes=polly-codegen -S \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s

; CHECK: %polly.access.global.load = getelementptr i32, ptr %global.load, i64 0
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/multiple_sai_fro_same_base_address.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-position=before-vectorizer -polly-print-scops -disable-output < %s | FileCheck %s --check-prefix=SCOP
; RUN: opt %loadPolly -polly-position=before-vectorizer -polly-codegen -S < %s | FileCheck %s --check-prefix=IR
; RUN: opt %loadNPMPolly -polly-position=before-vectorizer '-passes=print<polly-function-scops>' -disable-output < %s 2>&1 | FileCheck %s --check-prefix=SCOP
; RUN: opt %loadNPMPolly -polly-position=before-vectorizer -passes=polly-codegen -S < %s | FileCheck %s --check-prefix=IR

; The IR has two ScopArrayInfo for the value %next.0. This used to produce two
; phi nodes in polly.merge_new_and_old, one illegaly using the result of the
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/no-overflow-tracking.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-invariant-load-hoisting=true -polly-print-scops -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-invariant-load-hoisting=true -polly-overflow-tracking=never -polly-codegen -S < %s | FileCheck %s --check-prefix=IR
; RUN: opt %loadNPMPolly -polly-invariant-load-hoisting=true '-passes=print<polly-function-scops>' -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly -polly-invariant-load-hoisting=true -polly-overflow-tracking=never -passes=polly-codegen -S < %s | FileCheck %s --check-prefix=IR
;
; As (p + q) can overflow we have to check that we load from
; I[p + q] only if it does not.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/no_guard_bb.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S -verify-dom-info < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S -verify-dom-info < %s | FileCheck %s
;
; CHECK-NOT: br i1 true, label %polly.{{.*}}, label %polly.{{.*}}
;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; llvm.org/PR25439
; Scalar reloads in the generated entering block were not recognized as
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non-affine-exit-node-dominance.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; llvm.org/PR25439
; The dominance of the generated non-affine subregion block was based on the
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non-affine-phi-node-expansion-2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen \
; RUN: opt %loadNPMPolly -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non-affine-phi-node-expansion-3.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen \
; RUN: opt %loadNPMPolly -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s

define void @foo(ptr %A, i1 %cond0, i1 %cond1) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non-affine-phi-node-expansion-4.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen \
; RUN: opt %loadNPMPolly -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s

define void @foo(ptr %A, i1 %cond0, i1 %cond1) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non-affine-phi-node-expansion.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen \
; RUN: opt %loadNPMPolly -passes=polly-codegen \
; RUN: -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; This caused the code generation to generate invalid code as the same operand
; of the PHI node in the non-affine region was synthesized at the wrong place.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; This caused the code generation to generate invalid code as the same BBMap was
; used for the whole non-affine region. When %add is synthesized for the
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non-affine-region-implicit-store.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; llvm.org/PR25438
; After loop versioning, a dominance check of a non-affine subregion's exit node
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-allow-nonaffine-loops \
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-allow-nonaffine-loops \
; RUN: -S < %s | FileCheck %s

; This test verifies that values defined in another scop statement and used by
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non-affine-subregion-dominance-reuse.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S -verify-dom-info \
; RUN: opt %loadNPMPolly -passes=polly-codegen -S -verify-dom-info \
; RUN: < %s | FileCheck %s
;
; Check that we do not reuse the B[i-1] GEP created in block S again in
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/non-affine-switch.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly \
; RUN: -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly \
; RUN: -S -passes=polly-codegen < %s | FileCheck %s
;
; void f(int *A, int N) {
; for (int i = 0; i < N; i++)
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non-affine-synthesized-in-branch.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-process-unprofitable -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-process-unprofitable -passes=polly-codegen -S < %s | FileCheck %s
;
; llvm.org/PR25412
; %synthgep caused %gep to be synthesized in subregion_if which was reused for
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/non-affine-update.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-import-jscop \
; RUN: -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: -S < %s | FileCheck %s
;
; void non-affine-update(double A[], double C[], double B[]) {
; for (int i = 0; i < 10; i++) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non-hoisted-load-needed-as-base-ptr.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -tbaa -polly-codegen -disable-output %s
; RUN: opt %loadNPMPolly -aa-pipeline=tbaa -passes=polly-codegen -disable-output %s
;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/non_affine_float_compare.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen \
; RUN: opt %loadNPMPolly -passes=polly-codegen \
; RUN: -polly-allow-nonaffine-branches -S -verify-dom-info \
; RUN: < %s | FileCheck %s
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/only_non_affine_error_region.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; CHECK-NOT: polly.start
;
Expand Down
12 changes: 6 additions & 6 deletions polly/test/CodeGen/openmp_limit_threads.ll
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
; RUN: opt %loadPolly -polly-codegen -polly-parallel -S < %s | FileCheck %s --check-prefix=AUTO
; RUN: opt %loadPolly -polly-codegen -polly-parallel -polly-num-threads=1 -S < %s | FileCheck %s --check-prefix=ONE
; RUN: opt %loadPolly -polly-codegen -polly-parallel -polly-num-threads=4 -S < %s | FileCheck %s --check-prefix=FOUR
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-parallel -S < %s | FileCheck %s --check-prefix=AUTO
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-parallel -polly-num-threads=1 -S < %s | FileCheck %s --check-prefix=ONE
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-parallel -polly-num-threads=4 -S < %s | FileCheck %s --check-prefix=FOUR

; RUN: opt %loadPolly -polly-codegen -polly-parallel -polly-omp-backend=LLVM -S < %s | FileCheck %s --check-prefix=LIBOMP-AUTO
; RUN: opt %loadPolly -polly-codegen -polly-parallel -polly-omp-backend=LLVM -polly-num-threads=1 -S < %s | FileCheck %s --check-prefix=LIBOMP-ONE
; RUN: opt %loadPolly -polly-codegen -polly-parallel -polly-omp-backend=LLVM -polly-num-threads=4 -S < %s | FileCheck %s --check-prefix=LIBOMP-FOUR
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-parallel -polly-omp-backend=LLVM -S < %s | FileCheck %s --check-prefix=LIBOMP-AUTO
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-parallel -polly-omp-backend=LLVM -polly-num-threads=1 -S < %s | FileCheck %s --check-prefix=LIBOMP-ONE
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-parallel -polly-omp-backend=LLVM -polly-num-threads=4 -S < %s | FileCheck %s --check-prefix=LIBOMP-FOUR

; Ensure that the provided thread numbers are forwarded to the OpenMP calls.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/out-of-scop-phi-node-use.ll
Original file line number Diff line number Diff line change
@@ -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 triple = "x86_64-unknown-linux-gnu"
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/param_div_div_div_2.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-scops -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s --check-prefix=IR
; RUN: opt %loadNPMPolly '-passes=print<polly-function-scops>' -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s --check-prefix=IR
;
; Check that we guard the divisions because we moved them and thereby increased
; their domain.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/partial_write_array.ll
Original file line number Diff line number Diff line change
@@ -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
;
; Partial write of an array access.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/partial_write_emptyset.ll
Original file line number Diff line number Diff line change
@@ -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
;
; Partial write, where "partial" is the empty set.
; The store is never executed in this case and we do generate it in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s

; CHECK: polly.stmt.if.then81: ; preds = %polly.stmt.if.end75
; CHECK-NEXT: store float undef, ptr %fX64, align 4, !alias.scope !0, !noalias !3
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/partial_write_impossible_restriction.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed -S < %s | FileCheck %s
;
; The isl scheduler isolates %cond.false into two instances.
; A partial write access in one of the instances was never executed,
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/partial_write_in_region.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-import-jscop \
; RUN: -polly-import-jscop-postfix=transformed -polly-codegen \
; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: -polly-import-jscop-postfix=transformed \
; RUN: -verify-dom-info \
; RUN: -S < %s | FileCheck %s
;
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/partial_write_in_region_with_loop.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-import-jscop \
; RUN: -polly-import-jscop-postfix=transformed -polly-codegen \
; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
; RUN: -polly-import-jscop-postfix=transformed \
; RUN: -verify-dom-info -polly-allow-nonaffine-loops \
; RUN: -S < %s | FileCheck %s

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/partial_write_mapped_scalar.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=polly-import-jscop,polly-codegen' -polly-import-jscop-postfix=transformed -S < %s | FileCheck %s
;
; Partial write of a (mapped) scalar.
;
Expand Down
Original file line number Diff line number Diff line change
@@ -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
;
; Partial write of a (mapped) scalar in a non-affine subregion.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/perf_monitoring.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-codegen-perf-monitoring \
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-codegen-perf-monitoring \
; RUN: -S < %s | FileCheck %s

; void f(long A[], long N) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/perf_monitoring_cycles_per_scop.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-codegen-perf-monitoring \
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-codegen-perf-monitoring \
; RUN: -S < %s | FileCheck %s

; void f(long A[], long N) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/perf_monitoring_trip_counts_per_scop.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-codegen-perf-monitoring \
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-codegen-perf-monitoring \
; RUN: -S < %s | FileCheck %s

; void f(long A[], long N) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi-defined-before-scop.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s

; CHECK-LABEL: polly.merge_new_and_old:
; CHECK-NEXT: %tmp7.ph.merge = phi ptr [ %tmp7.ph.final_reload, %polly.exiting ], [ %tmp7.ph, %bb6.region_exiting ]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s

; Make sure code generation does not break in case an 'error block' is detected
; outside of the scope. In this situation, we should not affect code generation.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_condition_modeling_1.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
;
; void f(int *A, int c, int N) {
; int tmp;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_condition_modeling_2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
;
; void f(int *A, int c, int N) {
; int tmp;
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/phi_conditional_simple_1.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s --check-prefix=AST
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s --check-prefix=AST
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
;
; void jd(int *A, int c) {
; for (int i = 0; i < 1024; i++) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_in_exit_early_lnt_failure_1.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; This caused an lnt crash at some point, just verify it will run through.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_in_exit_early_lnt_failure_2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; This caused an lnt crash at some point, just verify it will run through and
; produce the PHI node in the exit we are looking for.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_in_exit_early_lnt_failure_3.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; This caused an lnt crash at some point, just verify it will run through and
; produce the PHI node in the exit we are looking for.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_in_exit_early_lnt_failure_5.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; This caused an lnt crash at some point, just verify it will run through and
; produce the PHI node in the exit we are looking for.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_loop_carried_float.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
;
; float f(float *A, int N) {
; float tmp = 0;
Expand Down
8 changes: 4 additions & 4 deletions polly/test/CodeGen/phi_loop_carried_float_escape.ll
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
; RUN: opt %loadPolly -S \
; RUN: -polly-analyze-read-only-scalars=false -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S \
; RUN: -polly-analyze-read-only-scalars=false -passes=polly-codegen < %s | FileCheck %s

; RUN: opt %loadPolly -S \
; RUN: -polly-analyze-read-only-scalars=true -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S \
; RUN: -polly-analyze-read-only-scalars=true -passes=polly-codegen < %s | FileCheck %s
;
; float f(float *A, int N) {
; float tmp = 0;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_scalar_simple_1.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
;
; int jd(int *restrict A, int x, int N) {
; for (int i = 1; i < N; i++)
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_scalar_simple_2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
;
; int jd(int *restrict A, int x, int N, int c) {
; for (int i = 0; i < N; i++)
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_with_multi_exiting_edges_2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; CHECK: polly.merge_new_and_old:
; CHECK: %result.ph.merge = phi float [ %result.ph.final_reload, %polly.exiting ], [ %result.ph, %next.region_exiting ]
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/phi_with_one_exit_edge.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
;
; CHECK: polly.merge_new_and_old:
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/pointer-type-expressions-2.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

define void @foo(ptr %start, ptr %end) {
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/pointer-type-expressions.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN

; void f(int a[], int N, float *P) {
; int i;
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/pointer-type-pointer-type-comparison.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN
;

; void f(int a[], int N, float *P, float *Q) {
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/pointer_rem.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-process-unprofitable -polly-scops -polly-print-ast -disable-output -S < %s | FileCheck %s --check-prefix=AST
; RUN: opt %loadPolly -polly-process-unprofitable -polly-scops -polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN
; RUN: opt %loadNPMPolly -polly-process-unprofitable '-passes=print<polly-function-scops>,scop(print<polly-ast>)' -disable-output -S < %s | FileCheck %s --check-prefix=AST
; RUN: opt %loadNPMPolly -polly-process-unprofitable '-passes=print<polly-function-scops>,scop(polly-codegen)' -S < %s | FileCheck %s --check-prefix=CODEGEN

target datalayout = "e-m:e-i64:64-i128:128-n8:16:32:64-S128"
target triple = "aarch64--linux-gnu"
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/pr25241.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s

; PR25241 (https://llvm.org/bugs/show_bug.cgi?id=25241)
; Ensure that synthesized values of a PHI node argument are generated in the
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/ptrtoint_as_parameter.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; CHECK: if.then260:
; CHECK-NEXT: %p.4 = getelementptr inbounds i8, ptr null, i64 1
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/read-only-scalars.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
; RUN: opt %loadPolly -polly-analyze-read-only-scalars=false -polly-codegen \
; RUN: opt %loadNPMPolly -polly-analyze-read-only-scalars=false -passes=polly-codegen \
; RUN: \
; RUN: -S < %s | FileCheck %s
; RUN: opt %loadPolly -polly-analyze-read-only-scalars=true -polly-codegen \
; RUN: opt %loadNPMPolly -polly-analyze-read-only-scalars=true -passes=polly-codegen \
; RUN: \
; RUN: -S < %s | FileCheck %s -check-prefix=SCALAR

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/reduction.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s 2>&1 | not FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s 2>&1 | not FileCheck %s

;#include <string.h>
;#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/reduction_2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-invariant-load-hoisting=true -polly-print-ast -disable-output < %s | FileCheck %s --allow-empty
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa -polly-invariant-load-hoisting=true '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s --allow-empty

;#include <string.h>
;#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/reduction_simple_binary.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -polly-ast-detect-parallel -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -polly-ast-detect-parallel -disable-output < %s | FileCheck %s
;
; CHECK: pragma simd reduction
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/region-with-instructions.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s

; CHECK-LABEL: polly.stmt.bb48:
; CHECK-NEXT: %[[offset:.*]] = shl i64 %polly.indvar, 3
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/region_exiting-domtree.ll
Original file line number Diff line number Diff line change
@@ -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

; Verify that the DominatorTree is preserved correctly for the inserted
; %polly.stmt.exit.exit block, which serves as new exit block for the generated
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/region_multiexit_partialwrite.ll
Original file line number Diff line number Diff line change
@@ -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
;
; This text case has a partial write of PHI in a region-statement. It
; requires that the new PHINode from the region's exiting block is
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/run-time-condition-with-scev-parameters.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s --check-prefix=AST
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s --check-prefix=AST
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s

; TODO: FIXME: Simplify the context.
; AST: if (n >= 1 && 0 == n <= -1)
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/run-time-condition.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa -passes=polly-codegen -S < %s | FileCheck %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"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s

; Test the code generation in the presence of a scalar out-of-scop value being
; used from within the SCoP.
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/scalar-store-from-same-bb.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly \
; RUN: -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly \
; RUN: -passes=polly-codegen -S < %s | FileCheck %s

; This test ensures that the expression N + 1 that is stored in the phi-node
; alloca, is directly computed and not incorrectly transfered through memory.
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/scalar_codegen_crash.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly \
; RUN: -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly \
; RUN: -passes=polly-codegen -S < %s | FileCheck %s

; This test cases used to crash the scalar code generation. Check that we
; can generate code for it.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/scev-backedgetaken.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; llvm.org/PR48422
; Use of ScalarEvolution in Codegen not possible because DominatorTree is not updated.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/scev-division-invariant-load.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s
;
; Check that we generate valid code as we did not use the preloaded
; value of %tmp1 for the access function of the preloaded %tmp4.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/scev.ll
Original file line number Diff line number Diff line change
@@ -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"

define fastcc void @f () inlinehint align 2 {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/scev_expansion_in_nonaffine.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S \
; RUN: opt %loadNPMPolly -passes=polly-codegen -S \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s

; bugpoint-reduced testcase of MiBench/consumer-lame/quantize-pvt.c from the
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/scev_looking_through_bitcasts.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; Scalar write of bitcasted value. Instead of writing %b of type
; %structty, the SCEV expression looks through the bitcast such that
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/scop_expander_insert_point.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S \
; RUN: opt %loadNPMPolly -passes=polly-codegen -S \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s
;
; CHECK: entry:
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/scop_expander_segfault.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S %s | FileCheck %s
;
; This test was extracted from gcc in SPEC2006 and it crashed our code
; generation, or to be more precise, the ScopExpander due to a endless
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s

; Verify that we generate the runtime check code after the conditional branch
; in the SCoP region entering block (here %entry).
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/select-base-pointer.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -tbaa -polly-codegen -disable-output %s
; RUN: opt %loadNPMPolly -aa-pipeline=tbaa -passes=polly-codegen -disable-output %s
;
; Check that we do not crash here.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/sequential_loops.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s

;#include <string.h>
;#define N 1024
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/simple_loop_non_single_exit.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s -check-prefix=CHECK-CODE
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=CHECK-CODE

; void f(long A[], long N) {
; long i;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/simple_loop_non_single_exit_2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s -check-prefix=CHECK-CODE
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=CHECK-CODE

; void f(long A[], long N) {
; long i;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/simple_non_single_entry.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s -check-prefix=CHECK-CODE
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=CHECK-CODE

; void f(long A[], long N) {
; long i;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/simple_nonaffine_loop.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -polly-allow-nonaffine -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -polly-allow-nonaffine -disable-output < %s | FileCheck %s

;#include <stdio.h>
;#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_do_loop_int_max_iterations.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s

;#define N 20
;#include "limits.h"
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_do_loop_int_param_iterations.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; XFAIL: *

;define N 20
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/single_do_loop_ll_max_iterations.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen < %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen < %s

;#define N 20
;#include "limits.h"
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_do_loop_one_iteration.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; XFAIL: *

;#define N 20
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_do_loop_scev_replace.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s

;#define N 20
;#include "limits.h"
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_loop.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s

;#include <string.h>
;#define N 1024
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_loop_int_max_iterations.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s

;#define N 20
;#include "limits.h"
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_loop_ll_max_iterations.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s

;#include "limits.h"
;#define N 20
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_loop_one_iteration.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s

;#define N 20
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_loop_param.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %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"

@A = common global [1024 x i32] zeroinitializer, align 16 ; <ptr> [#uses=3]
Expand Down
6 changes: 3 additions & 3 deletions polly/test/CodeGen/single_loop_param_less_equal.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN
; RUN: opt %loadPolly -polly-codegen < %s | opt -passes='print<loops>' -disable-output 2>&1 | FileCheck %s -check-prefix=LOOPS
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN
; RUN: opt %loadNPMPolly -passes=polly-codegen < %s | opt -passes='print<loops>' -disable-output 2>&1 | FileCheck %s -check-prefix=LOOPS
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"

@A = common global [1024 x i32] zeroinitializer
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/single_loop_param_less_than.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s -check-prefix=CODEGEN
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"

@A = common global [1024 x i32] zeroinitializer
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/single_loop_zero_iterations.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=SCALAR --allow-empty
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=SCALAR --allow-empty

;#define N 20
;
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/split_edge_of_exit.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-detect -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-codegen -verify-region-info -disable-output < %s
; RUN: opt %loadNPMPolly '-passes=print<polly-detect>' -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -verify-region-info -disable-output < %s
;
; This is a scop directly precedented by a region, i.e. the scop's entry is the
; region's exit block. This test is to ensure that the RegionInfo is correctly
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/split_edges.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -verify-region-info -verify-dom-info -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -verify-region-info -verify-dom-info -S < %s | FileCheck %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"

@A = common global [1536 x float] zeroinitializer
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/split_edges_2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -verify-region-info -verify-dom-info -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -verify-region-info -verify-dom-info -S < %s | FileCheck %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"

Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/srem-in-other-bb.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S \
; RUN: opt %loadNPMPolly -passes=polly-codegen -S \
; RUN: < %s | FileCheck %s
;
; void pos(float *A, long n) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/stack-overflow-in-load-hoisting.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -verify-dom-info -polly-codegen -S < %s \
; RUN: opt %loadNPMPolly -verify-dom-info -passes=polly-codegen -S < %s \
; RUN: -polly-invariant-load-hoisting=true | FileCheck %s
;
; This caused an infinite recursion during invariant load hoisting at some
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/stmt_split_no_dependence.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; CHECK: store i32 %9, ptr %scevgep, align 4, !alias.scope !1, !noalias !4
; CHECK: store i32 %11, ptr %scevgep4, align 4, !alias.scope !4, !noalias !1
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/switch-in-non-affine-region.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly \
; RUN: -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly \
; RUN: -S -passes=polly-codegen < %s | FileCheck %s
;
; void f(int *A, int N) {
; for (int i = 0; i < N; i++)
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/synthesizable_phi_write_after_loop.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; Check for the correct written value of a scalar phi write whose value is
; defined within the loop, but its effective value is its last definition when
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/test-invalid-operands-for-select-2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen -verify-loop-info < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen -verify-loop-info < %s | FileCheck %s
;
; Check that we do not crash as described here: http://llvm.org/bugs/show_bug.cgi?id=21167
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/test-invalid-operands-for-select.ll
Original file line number Diff line number Diff line change
@@ -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 do not crash as described here: http://llvm.org/PR21167
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/test.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; XFAIL: *

;int bar1();
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/two-loops-right-after-each-other-2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s

; CHECK: polly.merge_new_and_old:
; CHECK-NEXT: merge = phi
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/two-scops-in-row-invalidate-scevs.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; CHECK-LABEL: for.cond:
; CHECK: %num.0 = phi i32 [ %add, %for.body15 ], [ 0, %for.cond.pre_entry_bb ]
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/two-scops-in-row.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

; RUN: opt %loadPolly -polly-print-ast -polly-ignore-aliasing -disable-output < %s | FileCheck %s -check-prefix=SCALAR
; RUN: opt %loadPolly -polly-codegen -polly-ignore-aliasing -disable-output < %s
; RUN: opt %loadNPMPolly '-passes=print<polly-ast>' -polly-ignore-aliasing -disable-output < %s | FileCheck %s -check-prefix=SCALAR
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-ignore-aliasing -disable-output < %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

; SCALAR: if (
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/udiv_expansion_position.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -S < %s | FileCheck %s
;
; Verify we do not crash when we synthezise code for the udiv in the SCoP.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/uninitialized_scalar_memory.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -S -polly-codegen < %s | FileCheck %s
; RUN: opt %loadNPMPolly -S -passes=polly-codegen < %s | FileCheck %s
;
; Verify we initialize the scalar locations reserved for the incoming phi
; values.
Expand Down
6 changes: 3 additions & 3 deletions polly/test/CodeGen/unpredictable-loop-unsynthesizable.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-scops \
; RUN: -polly-invariant-load-hoisting=true -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-codegen \
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-function-scops>' \
; RUN: -polly-invariant-load-hoisting=true -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb -passes=polly-codegen \
; RUN: -polly-invariant-load-hoisting=true -disable-output < %s

; The loop for.body is a scop with invariant load hoisting, but does not
Expand Down
2 changes: 1 addition & 1 deletion polly/test/CodeGen/variant_load_empty_domain.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -disable-output < %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -disable-output < %s
;
;
; void f(int *A) {
Expand Down
4 changes: 2 additions & 2 deletions polly/test/CodeGen/whole-scop-non-affine-subregion.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly \
; RUN: -polly-codegen -S < %s | FileCheck %s
; RUN: opt %loadNPMPolly \
; RUN: -passes=polly-codegen -S < %s | FileCheck %s

; CHECK: polly.start
; int /* pure */ g()
Expand Down
4 changes: 2 additions & 2 deletions polly/test/DeLICM/confused_order.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-delicm -disable-output -pass-remarks-missed=polly-delicm < %s 2>&1 | FileCheck %s -check-prefix=REMARKS
; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,print<polly-delicm>' -polly-import-jscop-postfix=transformed -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-delicm' -polly-import-jscop-postfix=transformed -disable-output -pass-remarks-missed=polly-delicm < %s 2>&1 | FileCheck %s -check-prefix=REMARKS
;
; ForwardOptree changes the SCoP and may already map some accesses.
; DeLICM must be prepared to encounter implicit reads
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; The domain of bb14 contradicts the SCoP's assumptions. This leads to
; 'anything goes' inside the statement since it is never executed,
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/load-in-cond-inf-loop.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s

; When %b is 0, %for.body13 is an infite loop. In this case the loaded
; value %1 is not used anywhere.
Expand Down
4 changes: 2 additions & 2 deletions polly/test/DeLICM/map_memset_zero.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck -match-full-lines %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb "-passes=scop(print<polly-delicm>)" -disable-output < %s | FileCheck -match-full-lines %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck -match-full-lines %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck -match-full-lines %s
;
; Check that PHI mapping works even in presence of a memset whose'
; zero value is used.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/nomap_alreadymapped.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/nomap_escaping.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/nomap_occupied.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/nomap_readonly.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; void func(double *A) {
; fsomeval = 21.0 + 21.0;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/nomap_spuriouswrite.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/nomap_storagesize.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; void func(float *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/nomap_writewrite.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/outofquota-reverseDomain.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-delicm-max-ops=1000000 -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-delicm-max-ops=1000000 '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; This causes an assertion to fail on out-of-quota after 1000000 operations.
; (The error was specific to -polly-delicm-max-ops=1000000 and changes
Expand Down
6 changes: 3 additions & 3 deletions polly/test/DeLICM/pass_existence.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; RUN: opt %loadPolly -polly-delicm -disable-output < %s
; RUN: opt %loadPolly -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly "-passes=scop(print<polly-delicm>)" -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-delicm -disable-output < %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=scop(print<polly-delicm>)' -disable-output < %s | FileCheck %s
;
; Simple test for the existence of the DeLICM pass.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/pr41656.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-scops -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-function-scops>,scop(print<polly-delicm>)' -disable-output < %s 2>&1 | FileCheck %s
;
; llvm.org/PR41656
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/pr48783.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-scops -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-function-scops>,scop(print<polly-delicm>)' -disable-output < %s 2>&1 | FileCheck %s
;
; llvm.org/PR48783
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reduction.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm-partial-writes=true -polly-print-delicm -disable-output < %s | FileCheck -match-full-lines %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb -polly-delicm-partial-writes=true '-passes=print<polly-delicm>' -disable-output < %s | FileCheck -match-full-lines %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reduction_looprotate_gvnpre_cond1.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s -match-full-lines
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s -match-full-lines
;
; Load (but not store) of A[j] hoisted, reduction only over some iterations.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reduction_looprotate_gvnpre_cond2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s -match-full-lines
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s -match-full-lines
;
; Load (but not store) of A[j] hoisted, reduction not written in all iterations.
; FIXME: %join is not mapped because the MemoryKind::Value mapping does not
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s -match-full-lines
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s -match-full-lines
;
; Hosted reduction load (but not the store) without preheader.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reduction_looprotate_licm_nopreheader.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
;
; Register-promoted reduction but without preheader.
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reduction_looprotate_loopguard_gvnpre.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s -match-full-lines
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s -match-full-lines
;
; Reduction over parametric number of elements and a loopguard if the
; reduction loop is not executed at all. Load hoisted before loop.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reduction_looprotate_loopguard_licm1.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s -match-full-lines
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s -match-full-lines
;
; Reduction over parametric number of elements and a loopguard if the
; reduction loop is not executed at all.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reduction_looprotate_loopguard_licm2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s -match-full-lines
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s -match-full-lines
;
; Reduction over parametric number of elements and a loopguard if the
; reduction loop is not executed at all, such that A[j] is also not written to.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reduction_looprotate_loopguard_licm3.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s -match-full-lines
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s -match-full-lines
;
; Reduction over parametric number of elements and a loopguard if the
; reduction loop is not executed at all, such that A[j] is also not accessed.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reduction_unrelatedunusual.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm-partial-writes=true -polly-print-delicm -disable-output < %s | FileCheck -match-full-lines %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb -polly-delicm-partial-writes=true '-passes=print<polly-delicm>' -disable-output < %s | FileCheck -match-full-lines %s
;
; Map %add and %phi to A[j].
; The non-analyzable store to C[0] is unrelated and can be ignored.
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reject_loadafterstore.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output -pass-remarks-missed=polly-delicm < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output -pass-remarks-missed=polly-delicm < %s 2>&1 | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
4 changes: 2 additions & 2 deletions polly/test/DeLICM/reject_outofquota.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-print-delicm -pass-remarks-analysis=polly-delicm -polly-delicm-max-ops=1 -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadPolly -polly-delicm -polly-print-dependences -polly-delicm-max-ops=1 -polly-dependences-computeout=0 -disable-output < %s | FileCheck %s -check-prefix=DEP
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -pass-remarks-analysis=polly-delicm -polly-delicm-max-ops=1 -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=polly-delicm,print<polly-dependences>' -polly-delicm-max-ops=1 -polly-dependences-computeout=0 -disable-output < %s | FileCheck %s -check-prefix=DEP
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reject_storeafterstore.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/reject_storeinsubregion.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
4 changes: 2 additions & 2 deletions polly/test/DeLICM/reject_unusualstore.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-delicm -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -disable-output -stats < %s 2>&1 | FileCheck %s --check-prefix=STATS
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-delicm>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb -passes=polly-delicm -disable-output -stats < %s 2>&1 | FileCheck %s --check-prefix=STATS
; REQUIRES: asserts
;
; void func(double *A) {
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/skip_maywrite.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/skip_multiaccess.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-delicm -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-delicm -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
;
; llvm.org/PR34485
; llvm.org/PR34989
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/skip_notinloop.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
;
; void func(double *A) {
; double phi = 0.0;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeLICM/skip_scalaraccess.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-delicm -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-delicm>' -pass-remarks-missed=polly-delicm -disable-output < %s 2>&1 | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Expand Down
4 changes: 2 additions & 2 deletions polly/test/DeadCodeElimination/chained_iterations.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt -S %loadPolly -basic-aa -polly-dependences-analysis-type=value-based -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt -S %loadPolly -basic-aa -polly-dependences-analysis-type=value-based -polly-dce -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=CHECK-DCE
; RUN: opt -S %loadNPMPolly -aa-pipeline=basic-aa -polly-dependences-analysis-type=value-based '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; RUN: opt -S %loadNPMPolly -aa-pipeline=basic-aa -polly-dependences-analysis-type=value-based '-passes=polly-dce,print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=CHECK-DCE
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"
;
; for(i = 0; i < 200; i++ )
Expand Down
4 changes: 2 additions & 2 deletions polly/test/DeadCodeElimination/chained_iterations_2.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; RUN: opt -S %loadPolly -basic-aa -polly-dependences-analysis-type=value-based -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt -S %loadPolly -basic-aa -polly-dependences-analysis-type=value-based -polly-dce -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=CHECK-DCE
; RUN: opt -S %loadNPMPolly -aa-pipeline=basic-aa -polly-dependences-analysis-type=value-based '-passes=print<polly-ast>' -disable-output < %s | FileCheck %s
; RUN: opt -S %loadNPMPolly -aa-pipeline=basic-aa -polly-dependences-analysis-type=value-based '-passes=polly-dce,print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=CHECK-DCE
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"
;
; for(i = 0; i < 200; i++ )
Expand Down
3 changes: 1 addition & 2 deletions polly/test/DeadCodeElimination/computeout.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
; RUN: opt -S %loadPolly -basic-aa -polly-dce -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt -S %loadNPMPolly "-passes=scop(polly-dce,print<polly-ast>)" < %s | FileCheck %s
; RUN: opt -S %loadPolly -basic-aa -polly-dce -polly-print-ast -polly-dependences-computeout=1 -disable-output < %s | FileCheck %s -check-prefix=TIMEOUT
; RUN: opt -S %loadNPMPolly -aa-pipeline=basic-aa "-passes=scop(polly-dce,print<polly-ast>)" -polly-dependences-computeout=1 -disable-output < %s | FileCheck %s -check-prefix=TIMEOUT
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"

; for(i = 0; i < 100; i++ )
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
; RUN: opt -S %loadPolly -basic-aa -polly-dependences-analysis-type=value-based -polly-dce -polly-dce-precise-steps=2 -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt -S %loadNPMPolly "-passes=scop(polly-dce,print<polly-ast>)" -polly-dependences-analysis-type=value-based -polly-dce-precise-steps=2 < %s | FileCheck %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"
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeadCodeElimination/non-affine-affine-mix.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-allow-nonaffine -polly-dce -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-allow-nonaffine '-passes=polly-dce,print<polly-ast>' -disable-output < %s | FileCheck %s
;
; void f(int *A) {
; for (int i = 0; i < 1024; i++)
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeadCodeElimination/non-affine.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-allow-nonaffine -polly-dce -polly-print-ast -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -polly-allow-nonaffine '-passes=polly-dce,print<polly-ast>' -disable-output < %s | FileCheck %s
;
; CHECK: for (int c0 = 0; c0 <= 1023; c0 += 1)
;
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DeadCodeElimination/null_schedule.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt -S %loadPolly -basic-aa -polly-dependences-analysis-type=value-based -polly-dce -polly-print-ast -disable-output < %s | FileCheck %s -check-prefix=CHECK-DCE
; RUN: opt -S %loadNPMPolly -aa-pipeline=basic-aa -polly-dependences-analysis-type=value-based '-passes=polly-dce,print<polly-ast>' -disable-output < %s | FileCheck %s -check-prefix=CHECK-DCE
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"
; A[0] = 1;
;
Expand Down
6 changes: 2 additions & 4 deletions polly/test/DependenceInfo/computeout.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
; RUN: opt -S %loadPolly -polly-print-dependences -disable-output < %s | FileCheck %s -check-prefix=VALUE
; RUN: opt -S %loadPolly -polly-print-function-dependences -disable-output < %s | FileCheck %s -check-prefix=FUNC-VALUE
; RUN: opt -S %loadPolly -polly-print-dependences -polly-dependences-computeout=1 -disable-output < %s | FileCheck %s -check-prefix=TIMEOUT
; RUN: opt -S %loadPolly -polly-print-function-dependences -polly-dependences-computeout=1 -disable-output < %s | FileCheck %s -check-prefix=TIMEOUT
; RUN: opt -S %loadNPMPolly '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s -check-prefix=VALUE
; RUN: opt -S %loadNPMPolly '-passes=print<polly-dependences>' -polly-dependences-computeout=1 -disable-output < %s | FileCheck %s -check-prefix=TIMEOUT
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"

; for(i = 0; i < 100; i++ )
Expand Down
4 changes: 1 addition & 3 deletions polly/test/DependenceInfo/different_schedule_dimensions.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
; RUN: opt -S %loadPolly -polly-print-dependences \
; RUN: opt -S %loadNPMPolly '-passes=print<polly-dependences>' \
; RUN: -disable-output < %s | FileCheck %s
; RUN: opt -S %loadPolly -polly-print-function-dependences \
; RUN: -disable-output < %s | FileCheck %s -check-prefix=FUNC

; CHECK: RAW dependences:
; CHECK: { Stmt_bb9[0] -> Stmt_bb10[0] }
Expand Down
6 changes: 2 additions & 4 deletions polly/test/DependenceInfo/do_pluto_matmult.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
; RUN: opt %loadPolly -basic-aa -polly-print-dependences -polly-dependences-analysis-type=value-based -disable-output < %s | FileCheck %s -check-prefix=VALUE
; RUN: opt %loadPolly -basic-aa -polly-print-dependences -polly-dependences-analysis-type=memory-based -disable-output < %s | FileCheck %s -check-prefix=MEMORY
; RUN: opt %loadPolly -basic-aa -polly-print-function-dependences -polly-dependences-analysis-type=value-based -disable-output < %s | FileCheck %s -check-prefix=FUNC-VALUE
; RUN: opt %loadPolly -basic-aa -polly-print-function-dependences -polly-dependences-analysis-type=memory-based -disable-output < %s | FileCheck %s -check-prefix=FUNC-MEMORY
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa '-passes=print<polly-dependences>' -polly-dependences-analysis-type=value-based -disable-output < %s | FileCheck %s -check-prefix=VALUE
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa '-passes=print<polly-dependences>' -polly-dependences-analysis-type=memory-based -disable-output < %s | FileCheck %s -check-prefix=MEMORY

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"

Expand Down
7 changes: 3 additions & 4 deletions polly/test/DependenceInfo/fine_grain_dep_0.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-dependences -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=reference-wise -disable-output < %s | FileCheck %s --check-prefix=REF
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-dependences -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=access-wise -disable-output < %s | FileCheck %s --check-prefix=ACC
; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-print-function-dependences -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=access-wise -disable-output < %s | FileCheck %s --check-prefix=ACC
;
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-dependences>' -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=reference-wise -disable-output < %s | FileCheck %s --check-prefix=REF
; RUN: opt %loadNPMPolly -polly-stmt-granularity=bb '-passes=print<polly-dependences>' -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=access-wise -disable-output < %s | FileCheck %s --check-prefix=ACC

; REF: RAW dependences:
; REF-NEXT: [N] -> { [Stmt_for_body[i0] -> MemRef_b[]] -> [Stmt_for_body[6 + i0] -> MemRef_b[]] : 0 <= i0 <= -13 + N; Stmt_for_body[i0] -> Stmt_for_body[6 + i0] : 0 <= i0 <= -13 + N; Stmt_for_body[i0] -> Stmt_for_body[4 + i0] : 0 <= i0 <= -11 + N; [Stmt_for_body[i0] -> MemRef_a[]] -> [Stmt_for_body[4 + i0] -> MemRef_a[]] : 0 <= i0 <= -11 + N }
; REF-NEXT: WAR dependences:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt -S %loadPolly -polly-print-dependences -disable-output < %s | FileCheck %s -check-prefix=VALUE
; RUN: opt -S %loadNPMPolly '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s -check-prefix=VALUE
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"

; for (int i = 0; i < N; i++) {
Expand Down
5 changes: 2 additions & 3 deletions polly/test/DependenceInfo/infeasible_context.ll
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
; RUN: opt %loadPolly -polly-print-function-scops -disable-output < %s \
; RUN: opt %loadNPMPolly '-passes=print<polly-detect>,print<polly-function-scops>' -disable-output < %s 2>&1 \
; RUN: | FileCheck %s -check-prefix=FUNC-SCOP
; RUN: opt %loadPolly -polly-print-function-dependences -disable-output < %s \
; RUN: opt %loadNPMPolly '-passes=print<polly-detect>,scop(print<polly-dependences>)' -disable-output < %s 2>&1 \
; RUN: | FileCheck %s -check-prefix=FUNC-DEPS
;
; FUNC-SCOP-NOT: Statement
; FUNC-DEPS-LABEL: Printing analysis 'Polly - Calculate dependences for all the SCoPs of a function' for function 'readgeo'
; FUNC-DEPS-NOT: RAW dependences
;
; Due to an infeasible run-time check, scop object is empty and we do not compute dependences.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-dependences -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s
;
; Verify that the presence of a may-write (S1) between a read (S0) and a
; must-write (S2) does not block the generation of RAW dependences. This makes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-codegen -polly-allow-nonaffine-loops -polly-allow-nonaffine -debug-only=polly-dependence < %s 2>&1 | FileCheck %s
; RUN: opt %loadNPMPolly -passes=polly-codegen -polly-allow-nonaffine-loops -polly-allow-nonaffine -debug-only=polly-dependence < %s 2>&1 | FileCheck %s
; REQUIRES: asserts

; CHECK: MayWriteAccess := [Reduction Type: NONE] [Scalar: 0]
Expand Down
6 changes: 3 additions & 3 deletions polly/test/DependenceInfo/reduction_complex_location.ll
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; RUN: opt %loadPolly -polly-print-dependences -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-print-dependences -polly-dependences-analysis-level=reference-wise -disable-output < %s | FileCheck %s
; RUN: opt %loadPolly -polly-print-dependences -polly-dependences-analysis-level=access-wise -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-dependences>' -polly-dependences-analysis-level=reference-wise -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-dependences>' -polly-dependences-analysis-level=access-wise -disable-output < %s | FileCheck %s
;
; CHECK: RAW dependences:
; CHECK-NEXT: { }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-stmt-granularity=bb -polly-print-dependences -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa -polly-stmt-granularity=bb '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s
;
; This loopnest contains a reduction which imposes the same dependences as the
; accesses to the array A. We need to ensure we keep the dependences of A.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
; Test that the reduction dependences are always initialised, even in a case
; where we have no reduction. If this object is NULL, then isl operations on
; it will fail.
; RUN: opt -S %loadPolly -polly-print-dependences -disable-output < %s | FileCheck %s -check-prefix=VALUE
; RUN: opt -S %loadNPMPolly '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s -check-prefix=VALUE
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"

; for(i = 0; i < 100; i++ )
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-dependences -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s
;
; CHECK: RAW dependences:
; CHECK-NEXT: { Stmt_for_body3[i0, i1] -> Stmt_for_body3[i0 + i1, o1] : i0 >= 0 and 0 <= i1 <= 1023 - i0 and i1 <= 1 and 0 < o1 <= 511 }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; RUN: opt -basic-aa %loadPolly -polly-print-dependences -disable-output < %s | FileCheck %s
; RUN: opt -basic-aa %loadPolly -polly-print-dependences -polly-dependences-analysis-level=reference-wise -disable-output < %s | FileCheck %s
; RUN: opt -basic-aa %loadPolly -polly-print-dependences -polly-dependences-analysis-level=access-wise -disable-output < %s | FileCheck %s
; RUN: opt -aa-pipeline=basic-aa %loadNPMPolly '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s
; RUN: opt -aa-pipeline=basic-aa %loadNPMPolly '-passes=print<polly-dependences>' -polly-dependences-analysis-level=reference-wise -disable-output < %s | FileCheck %s
; RUN: opt -aa-pipeline=basic-aa %loadNPMPolly '-passes=print<polly-dependences>' -polly-dependences-analysis-level=access-wise -disable-output < %s | FileCheck %s
;
; Verify that only the inner reduction like accesses cause reduction dependences
;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-dependences -basic-aa -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-dependences>' -aa-pipeline=basic-aa -disable-output < %s | FileCheck %s
;
; CHECK: RAW dependences:
; CHECK-NEXT: { }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -polly-print-dependences -basic-aa -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly '-passes=print<polly-dependences>' -aa-pipeline=basic-aa -disable-output < %s | FileCheck %s
;
; CHECK: Reduction dependences:
; CHECK-NEXT: { Stmt_for_inc[i0, i1] -> Stmt_for_inc[i0, 1 + i1] : 0 <= i0 <= 99 and 0 <= i1 <= 98 }
Expand Down
2 changes: 1 addition & 1 deletion polly/test/DependenceInfo/reduction_multiple_reductions.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-print-dependences -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s
;
; Verify we do not have dependences between the if and the else clause
;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt %loadPolly -basic-aa -polly-print-dependences -disable-output < %s | FileCheck %s
; RUN: opt %loadNPMPolly -aa-pipeline=basic-aa '-passes=print<polly-dependences>' -disable-output < %s | FileCheck %s
;
;
; These are the important RAW dependences, as they need to originate/end in only one iteration:
Expand Down
Loading