[polly] r324169 - [ScopBuilder] Make -polly-stmt-granularity=scalar-indep the default.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 2 22:59:48 PST 2018
Author: meinersbur
Date: Fri Feb 2 22:59:47 2018
New Revision: 324169
URL: http://llvm.org/viewvc/llvm-project?rev=324169&view=rev
Log:
[ScopBuilder] Make -polly-stmt-granularity=scalar-indep the default.
Splitting basic blocks into multiple statements if there are now
additional scalar dependencies gives more freedom to the scheduler, but
more statements also means higher compile-time complexity. Switch to
finer statement granularity, the additional compile time should be
limited by the number of operations quota.
The regression tests are written for the -polly-stmt-granularity=bb
setting, therefore we add that flag to those tests that break with the
new default. Some of the tests only fail because the statements are
named differently due to a basic block resulting in multiple statements,
but which are removed during simplification of statements without
side-effects. Previous commits tried to reduce this effect, but it is
not completely avoidable.
Differential Revision: https://reviews.llvm.org/D42151
Modified:
polly/trunk/lib/Analysis/ScopBuilder.cpp
polly/trunk/test/DeLICM/map_memset_zero.ll
polly/trunk/test/DeLICM/nomap_occupied.ll
polly/trunk/test/DeLICM/reduction.ll
polly/trunk/test/DeLICM/reduction_looprotate_gvnpre.ll
polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond1.ll
polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond2.ll
polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_nopreheader.ll
polly/trunk/test/DeLICM/reduction_looprotate_hoisted.ll
polly/trunk/test/DeLICM/reduction_looprotate_licm.ll
polly/trunk/test/DeLICM/reduction_looprotate_licm2.ll
polly/trunk/test/DeLICM/reduction_looprotate_licm_double_write.ll
polly/trunk/test/DeLICM/reduction_looprotate_licm_nopreheader.ll
polly/trunk/test/DeLICM/reduction_looprotate_load.ll
polly/trunk/test/DeLICM/reduction_looprotate_loopguard_gvnpre.ll
polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm1.ll
polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm2.ll
polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm3.ll
polly/trunk/test/DeLICM/reduction_looprotate_readonly.ll
polly/trunk/test/DeLICM/reduction_looprotate_synthesizable.ll
polly/trunk/test/DeLICM/reduction_looprotate_undef.ll
polly/trunk/test/DeLICM/reduction_overapproximate.ll
polly/trunk/test/DeLICM/reduction_unrelatedunusual.ll
polly/trunk/test/DeLICM/reject_loadafterstore.ll
polly/trunk/test/DeLICM/reject_storeafterstore.ll
polly/trunk/test/DeLICM/reject_unusualstore.ll
polly/trunk/test/DependenceInfo/fine_grain_dep_0.ll
polly/trunk/test/DependenceInfo/reduction_dependences_equal_non_reduction_dependences.ll
polly/trunk/test/DependenceInfo/reduction_two_reductions_different_rloops.ll
polly/trunk/test/ForwardOpTree/atax.ll
polly/trunk/test/ForwardOpTree/forward_load_differentarray.ll
polly/trunk/test/ForwardOpTree/forward_load_double_write.ll
polly/trunk/test/ForwardOpTree/forward_load_fromloop.ll
polly/trunk/test/ForwardOpTree/forward_load_tripleuse.ll
polly/trunk/test/ForwardOpTree/jacobi-1d.ll
polly/trunk/test/Isl/Ast/dependence_distance_multiple_constant.ll
polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll
polly/trunk/test/Isl/CodeGen/MemAccess/create_arrays_heap.ll
polly/trunk/test/Isl/CodeGen/MemAccess/map_scalar_access.ll
polly/trunk/test/Isl/CodeGen/MemAccess/multiple_types.ll
polly/trunk/test/Isl/CodeGen/OpenMP/mapped-phi-access.ll
polly/trunk/test/Isl/CodeGen/OpenMP/recomputed-srem.ll
polly/trunk/test/Isl/CodeGen/partial_write_impossible_restriction.ll
polly/trunk/test/Isl/CodeGen/partial_write_mapped_scalar.ll
polly/trunk/test/Isl/CodeGen/partial_write_mapped_vector.ll
polly/trunk/test/Isl/CodeGen/unpredictable-loop-unsynthesizable.ll
polly/trunk/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll
polly/trunk/test/MaximalStaticExpansion/load_after_store_same_statement.ll
polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_dependences_per_statement.ll
polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_instruction_per_statement.ll
polly/trunk/test/MaximalStaticExpansion/working_phi_two_scalars.ll
polly/trunk/test/PruneUnprofitable/prune_only_scalardeps.ll
polly/trunk/test/ScopInfo/branch-references-loop-scev-with-unknown-iterations-3.ll
polly/trunk/test/ScopInfo/condition-after-error-block-2.ll
polly/trunk/test/ScopInfo/condtion-after-error-block.ll
polly/trunk/test/ScopInfo/const_srem_sdiv.ll
polly/trunk/test/ScopInfo/constant_functions_multi_dim.ll
polly/trunk/test/ScopInfo/delinearize-together-all-data-refs.ll
polly/trunk/test/ScopInfo/escaping_empty_scop.ll
polly/trunk/test/ScopInfo/exit-phi-1.ll
polly/trunk/test/ScopInfo/exit-phi-2.ll
polly/trunk/test/ScopInfo/exit_phi_accesses-2.ll
polly/trunk/test/ScopInfo/invariant_load_complex_condition.ll
polly/trunk/test/ScopInfo/loop_carry.ll
polly/trunk/test/ScopInfo/many-scalar-dependences.ll
polly/trunk/test/ScopInfo/mod_ref_access_pointee_arguments.ll
polly/trunk/test/ScopInfo/mod_ref_read_pointee_arguments.ll
polly/trunk/test/ScopInfo/multidim_2d_with_modref_call.ll
polly/trunk/test/ScopInfo/multidim_2d_with_modref_call_2.ll
polly/trunk/test/ScopInfo/multidim_fixedsize_multi_offset.ll
polly/trunk/test/ScopInfo/multidim_fold_constant_dim_zero.ll
polly/trunk/test/ScopInfo/multidim_fortran_2d_with_modref_call.ll
polly/trunk/test/ScopInfo/multidim_fortran_srem.ll
polly/trunk/test/ScopInfo/multidim_nested_start_share_parameter.ll
polly/trunk/test/ScopInfo/multidim_with_bitcast.ll
polly/trunk/test/ScopInfo/multiple-types-access-offset-not-dividable-by-element-size.ll
polly/trunk/test/ScopInfo/multiple-types-non-affine-2.ll
polly/trunk/test/ScopInfo/multiple-types-non-affine.ll
polly/trunk/test/ScopInfo/multiple-types.ll
polly/trunk/test/ScopInfo/non-affine-region-with-loop-2.ll
polly/trunk/test/ScopInfo/out-of-scop-use-in-region-entry-phi-node.ll
polly/trunk/test/ScopInfo/parameter-constant-division.ll
polly/trunk/test/ScopInfo/phi_after_error_block.ll
polly/trunk/test/ScopInfo/phi_scalar_simple_2.ll
polly/trunk/test/ScopInfo/pointer-used-as-base-pointer-and-scalar-read.ll
polly/trunk/test/ScopInfo/polly-timeout-parameter-bounds.ll
polly/trunk/test/ScopInfo/process_added_dimensions.ll
polly/trunk/test/ScopInfo/read-only-scalars.ll
polly/trunk/test/ScopInfo/reduction_disabled_multiplicative.ll
polly/trunk/test/ScopInfo/reduction_escaping_intermediate_2.ll
polly/trunk/test/ScopInfo/reduction_invalid_overlapping_accesses.ll
polly/trunk/test/ScopInfo/reduction_multiple_simple_binary.ll
polly/trunk/test/ScopInfo/stmt_split_phi_in_stmt.ll
polly/trunk/test/ScopInfo/stmt_split_scalar_dependence.ll
polly/trunk/test/ScopInfo/stmt_split_within_loop.ll
polly/trunk/test/ScopInfo/unpredictable_nonscop_loop.ll
polly/trunk/test/ScopInfo/unprofitable_scalar-accs.ll
polly/trunk/test/Simplify/coalesce_3partials.ll
polly/trunk/test/Simplify/coalesce_disjointelements.ll
polly/trunk/test/Simplify/coalesce_overlapping.ll
polly/trunk/test/Simplify/coalesce_partial.ll
polly/trunk/test/Simplify/dead_access_load.ll
polly/trunk/test/Simplify/dead_access_phi.ll
polly/trunk/test/Simplify/dead_access_value.ll
polly/trunk/test/Simplify/dead_instruction.ll
polly/trunk/test/Simplify/nocoalesce_differentvalues.ll
polly/trunk/test/Simplify/nocoalesce_elementmismatch.ll
polly/trunk/test/Simplify/nocoalesce_readbetween.ll
polly/trunk/test/Simplify/nocoalesce_writebetween.ll
polly/trunk/test/Simplify/notredundant_synthesizable_unknownit.ll
polly/trunk/test/Simplify/out-of-scop-use-in-region-entry-phi-node.ll
polly/trunk/test/Simplify/overwritten.ll
polly/trunk/test/Simplify/overwritten_3store.ll
Modified: polly/trunk/lib/Analysis/ScopBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopBuilder.cpp?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopBuilder.cpp (original)
+++ polly/trunk/lib/Analysis/ScopBuilder.cpp Fri Feb 2 22:59:47 2018
@@ -116,7 +116,7 @@ static cl::opt<GranularityChoice> StmtGr
"Scalar independence heuristic"),
clEnumValN(GranularityChoice::Stores, "store",
"Store-level granularity")),
- cl::init(GranularityChoice::BasicBlocks), cl::cat(PollyCategory));
+ cl::init(GranularityChoice::ScalarIndependence), cl::cat(PollyCategory));
void ScopBuilder::buildPHIAccesses(ScopStmt *PHIStmt, PHINode *PHI,
Region *NonAffineSubRegion,
Modified: polly/trunk/test/DeLICM/map_memset_zero.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/map_memset_zero.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/map_memset_zero.ll (original)
+++ polly/trunk/test/DeLICM/map_memset_zero.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %s | FileCheck -match-full-lines %s
;
; Check that PHI mapping works even in presence of a memset whose'
; zero value is used.
Modified: polly/trunk/test/DeLICM/nomap_occupied.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/nomap_occupied.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/nomap_occupied.ll (original)
+++ polly/trunk/test/DeLICM/nomap_occupied.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %s | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction.ll (original)
+++ polly/trunk/test/DeLICM/reduction.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm-partial-writes=true -polly-delicm -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm-partial-writes=true -polly-delicm -analyze < %s | FileCheck -match-full-lines %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction_looprotate_gvnpre.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_gvnpre.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_gvnpre.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_gvnpre.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-partial-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck -check-prefix=PARTIAL %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-partial-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck -check-prefix=PARTIAL %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond1.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond1.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond1.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond1.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
;
; Load (but not store) of A[j] hoisted, reduction only over some iterations.
;
Modified: polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond2.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_cond2.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %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
Modified: polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_nopreheader.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_nopreheader.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_nopreheader.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_gvnpre_nopreheader.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
;
; Hosted reduction load (but not the store) without preheader.
;
Modified: polly/trunk/test/DeLICM/reduction_looprotate_hoisted.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_hoisted.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_hoisted.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_hoisted.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-invariant-load-hoisting -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-invariant-load-hoisting -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
;
; void func(int *A, int* StartPtr) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction_looprotate_licm.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_licm.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_licm.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_licm.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction_looprotate_licm2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_licm2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_licm2.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_licm2.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm -analyze < %s | FileCheck %s
;
; Use %phi instead of the normal %add; that is, the last last iteration will
; be ignored such the %phi cannot be written to A[3] in %body.
Modified: polly/trunk/test/DeLICM/reduction_looprotate_licm_double_write.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_licm_double_write.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_licm_double_write.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_licm_double_write.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-flatten-schedule \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule \
; RUN: -polly-delicm-overapproximate-writes=true \
; RUN: -polly-delicm-compute-known=true -polly-delicm \
; RUN: -analyze < %s | FileCheck %s
Modified: polly/trunk/test/DeLICM/reduction_looprotate_licm_nopreheader.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_licm_nopreheader.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_licm_nopreheader.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_licm_nopreheader.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %s | FileCheck %s
;
; Register-promoted reduction but without preheader.
;
Modified: polly/trunk/test/DeLICM/reduction_looprotate_load.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_load.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_load.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_load.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
;
; void func(int *A, double* StartPtr) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction_looprotate_loopguard_gvnpre.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_loopguard_gvnpre.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_loopguard_gvnpre.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_loopguard_gvnpre.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %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.
Modified: polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm1.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm1.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm1.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm1.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
;
; Reduction over parametric number of elements and a loopguard if the
; reduction loop is not executed at all.
Modified: polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm2.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm2.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %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.
Modified: polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm3.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm3.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm3.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_loopguard_licm3.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze < %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.
Modified: polly/trunk/test/DeLICM/reduction_looprotate_readonly.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_readonly.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_readonly.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_readonly.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
;
; void func(double *A, double Start) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction_looprotate_synthesizable.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_synthesizable.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_synthesizable.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_synthesizable.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
;
; void func(int *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction_looprotate_undef.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_looprotate_undef.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_looprotate_undef.ll (original)
+++ polly/trunk/test/DeLICM/reduction_looprotate_undef.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-overapproximate-writes=true -polly-delicm-compute-known=true -polly-delicm -analyze < %s | FileCheck %s
;
; void func(int *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction_overapproximate.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_overapproximate.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_overapproximate.ll (original)
+++ polly/trunk/test/DeLICM/reduction_overapproximate.ll Fri Feb 2 22:59:47 2018
@@ -1,6 +1,6 @@
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-compute-known=true -polly-delicm-overapproximate-writes=true -polly-delicm-partial-writes=false -polly-delicm -analyze < %s | FileCheck %s --check-prefix=APPROX
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-compute-known=true -polly-delicm-overapproximate-writes=false -polly-delicm-partial-writes=false -polly-delicm -analyze < %s | FileCheck %s --check-prefix=EXACT
-; RUN: opt %loadPolly -polly-flatten-schedule -polly-delicm-compute-known=true -polly-delicm-partial-writes=true -polly-delicm -analyze < %s | FileCheck %s --check-prefix=PARTIAL
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-compute-known=true -polly-delicm-overapproximate-writes=true -polly-delicm-partial-writes=false -polly-delicm -analyze < %s | FileCheck %s --check-prefix=APPROX
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-compute-known=true -polly-delicm-overapproximate-writes=false -polly-delicm-partial-writes=false -polly-delicm -analyze < %s | FileCheck %s --check-prefix=EXACT
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-flatten-schedule -polly-delicm-compute-known=true -polly-delicm-partial-writes=true -polly-delicm -analyze < %s | FileCheck %s --check-prefix=PARTIAL
;
; void func(double *A {
; for (int j = -1; j < 3; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reduction_unrelatedunusual.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reduction_unrelatedunusual.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reduction_unrelatedunusual.ll (original)
+++ polly/trunk/test/DeLICM/reduction_unrelatedunusual.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm-partial-writes=true -polly-delicm -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm-partial-writes=true -polly-delicm -analyze < %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.
Modified: polly/trunk/test/DeLICM/reject_loadafterstore.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reject_loadafterstore.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reject_loadafterstore.ll (original)
+++ polly/trunk/test/DeLICM/reject_loadafterstore.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze -pass-remarks-missed=polly-delicm < %s 2>&1 | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze -pass-remarks-missed=polly-delicm < %s 2>&1 | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reject_storeafterstore.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reject_storeafterstore.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reject_storeafterstore.ll (original)
+++ polly/trunk/test/DeLICM/reject_storeafterstore.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-delicm -analyze -pass-remarks-missed=polly-delicm < %s 2>&1 | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze -pass-remarks-missed=polly-delicm < %s 2>&1 | FileCheck %s
;
; void func(double *A) {
; for (int j = 0; j < 2; j += 1) { /* outer */
Modified: polly/trunk/test/DeLICM/reject_unusualstore.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DeLICM/reject_unusualstore.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DeLICM/reject_unusualstore.ll (original)
+++ polly/trunk/test/DeLICM/reject_unusualstore.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-delicm -analyze< %s | FileCheck %s
-; RUN: opt %loadPolly -polly-delicm -disable-output -stats < %s 2>&1 | FileCheck %s --check-prefix=STATS
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -analyze< %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-delicm -disable-output -stats < %s 2>&1 | FileCheck %s --check-prefix=STATS
; REQUIRES: asserts
;
; void func(double *A) {
Modified: polly/trunk/test/DependenceInfo/fine_grain_dep_0.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DependenceInfo/fine_grain_dep_0.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DependenceInfo/fine_grain_dep_0.ll (original)
+++ polly/trunk/test/DependenceInfo/fine_grain_dep_0.ll Fri Feb 2 22:59:47 2018
@@ -1,6 +1,6 @@
-; RUN: opt %loadPolly -polly-dependences -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=reference-wise -analyze < %s | FileCheck %s --check-prefix=REF
-; RUN: opt %loadPolly -polly-dependences -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=access-wise -analyze < %s | FileCheck %s --check-prefix=ACC
-; RUN: opt %loadPolly -polly-function-dependences -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=access-wise -analyze < %s | FileCheck %s --check-prefix=ACC
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-dependences -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=reference-wise -analyze < %s | FileCheck %s --check-prefix=REF
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-dependences -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=access-wise -analyze < %s | FileCheck %s --check-prefix=ACC
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-function-dependences -polly-dependences-analysis-type=value-based -polly-dependences-analysis-level=access-wise -analyze < %s | FileCheck %s --check-prefix=ACC
;
; REF: RAW dependences:
; REF-NEXT: [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; [Stmt_for_body[i0] -> MemRef_b[]] -> [Stmt_for_body[6 + i0] -> MemRef_b[]] : 0 <= i0 <= -13 + N }
Modified: polly/trunk/test/DependenceInfo/reduction_dependences_equal_non_reduction_dependences.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DependenceInfo/reduction_dependences_equal_non_reduction_dependences.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DependenceInfo/reduction_dependences_equal_non_reduction_dependences.ll (original)
+++ polly/trunk/test/DependenceInfo/reduction_dependences_equal_non_reduction_dependences.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-dependences -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-dependences -analyze < %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.
Modified: polly/trunk/test/DependenceInfo/reduction_two_reductions_different_rloops.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/DependenceInfo/reduction_two_reductions_different_rloops.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/DependenceInfo/reduction_two_reductions_different_rloops.ll (original)
+++ polly/trunk/test/DependenceInfo/reduction_two_reductions_different_rloops.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-dependences -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-dependences -analyze < %s | FileCheck %s
;
; CHECK: RAW dependences:
; CHECK-NEXT: { }
Modified: polly/trunk/test/ForwardOpTree/atax.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ForwardOpTree/atax.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ForwardOpTree/atax.ll (original)
+++ polly/trunk/test/ForwardOpTree/atax.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-optree-normalize-phi=true -polly-optree -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-optree-normalize-phi=true -polly-optree -analyze < %s | FileCheck %s -match-full-lines
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Modified: polly/trunk/test/ForwardOpTree/forward_load_differentarray.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ForwardOpTree/forward_load_differentarray.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ForwardOpTree/forward_load_differentarray.ll (original)
+++ polly/trunk/test/ForwardOpTree/forward_load_differentarray.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-optree -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-optree -analyze < %s | FileCheck %s -match-full-lines
;
; To forward %val, B[j] cannot be reused in bodyC because it is overwritten
; between. Verify that instead the alternative C[j] is used.
Modified: polly/trunk/test/ForwardOpTree/forward_load_double_write.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ForwardOpTree/forward_load_double_write.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ForwardOpTree/forward_load_double_write.ll (original)
+++ polly/trunk/test/ForwardOpTree/forward_load_double_write.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-optree -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-optree -analyze < %s | FileCheck %s -match-full-lines
;
; Rematerialize a load even in case two writes of identical values are in
; one scop statement.
Modified: polly/trunk/test/ForwardOpTree/forward_load_fromloop.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ForwardOpTree/forward_load_fromloop.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ForwardOpTree/forward_load_fromloop.ll (original)
+++ polly/trunk/test/ForwardOpTree/forward_load_fromloop.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-optree -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-optree -analyze < %s | FileCheck %s -match-full-lines
;
; Forward a the LoadInst %val into %bodyB. %val is executed multiple times,
; we must get the last loaded values.
Modified: polly/trunk/test/ForwardOpTree/forward_load_tripleuse.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ForwardOpTree/forward_load_tripleuse.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ForwardOpTree/forward_load_tripleuse.ll (original)
+++ polly/trunk/test/ForwardOpTree/forward_load_tripleuse.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-optree -polly-codegen -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-optree -polly-codegen -analyze < %s | FileCheck %s -match-full-lines
;
; %val1 is used three times: Twice by its own operand tree of %val2 and once
; more by the store in %bodyB.
Modified: polly/trunk/test/ForwardOpTree/jacobi-1d.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ForwardOpTree/jacobi-1d.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ForwardOpTree/jacobi-1d.ll (original)
+++ polly/trunk/test/ForwardOpTree/jacobi-1d.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-optree-normalize-phi=true -polly-optree -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-optree-normalize-phi=true -polly-optree -analyze < %s | FileCheck %s -match-full-lines
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Modified: polly/trunk/test/Isl/Ast/dependence_distance_multiple_constant.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/Ast/dependence_distance_multiple_constant.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/Ast/dependence_distance_multiple_constant.ll (original)
+++ polly/trunk/test/Isl/Ast/dependence_distance_multiple_constant.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -basicaa -polly-ast -polly-ast-detect-parallel -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polyhedral-info -polly-check-parallel -analyze < %s | FileCheck %s -check-prefix=PINFO
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-ast -polly-ast-detect-parallel -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polyhedral-info -polly-check-parallel -analyze < %s | FileCheck %s -check-prefix=PINFO
;
; void f(int *restrict A, int *restrict B, int N) {
; CHECK: #pragma minimal dependence distance: 5
Modified: polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll (original)
+++ polly/trunk/test/Isl/Ast/dependence_distance_varying_multiple.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -basicaa -polly-ast -polly-ast-detect-parallel -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polyhedral-info -polly-check-parallel -analyze < %s | FileCheck %s -check-prefix=PINFO
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-ast -polly-ast-detect-parallel -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polyhedral-info -polly-check-parallel -analyze < %s | FileCheck %s -check-prefix=PINFO
;
; void f(int *restrict A, int *restrict B, int *restrict C, int *restrict D,
; int *restrict E, int N) {
Modified: polly/trunk/test/Isl/CodeGen/MemAccess/create_arrays_heap.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/MemAccess/create_arrays_heap.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/MemAccess/create_arrays_heap.ll (original)
+++ polly/trunk/test/Isl/CodeGen/MemAccess/create_arrays_heap.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-scops -analyze -polly-import-jscop -polly-import-jscop-postfix=transformed < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-import-jscop -polly-import-jscop-postfix=transformed < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN
;
; #define Ni 1056
; #define Nj 1056
Modified: polly/trunk/test/Isl/CodeGen/MemAccess/map_scalar_access.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/MemAccess/map_scalar_access.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/MemAccess/map_scalar_access.ll (original)
+++ polly/trunk/test/Isl/CodeGen/MemAccess/map_scalar_access.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-import-jscop-postfix=transformed -polly-import-jscop -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-import-jscop-postfix=transformed -polly-import-jscop -polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop-postfix=transformed -polly-import-jscop -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop-postfix=transformed -polly-import-jscop -polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN
define void @map_scalar_access(double* noalias nonnull %A) {
entry:
Modified: polly/trunk/test/Isl/CodeGen/MemAccess/multiple_types.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/MemAccess/multiple_types.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/MemAccess/multiple_types.ll (original)
+++ polly/trunk/test/Isl/CodeGen/MemAccess/multiple_types.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop \
; RUN: -polly-allow-differing-element-types \
; RUN: -polly-codegen -S < %s | FileCheck %s
;
Modified: polly/trunk/test/Isl/CodeGen/OpenMP/mapped-phi-access.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/OpenMP/mapped-phi-access.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/OpenMP/mapped-phi-access.ll (original)
+++ polly/trunk/test/Isl/CodeGen/OpenMP/mapped-phi-access.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-parallel -polly-delicm -polly-codegen -S < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-parallel -polly-delicm -polly-codegen -S < %s | FileCheck %s
;
; Verify that -polly-parallel can handle mapped scalar MemoryAccesses.
;
Modified: polly/trunk/test/Isl/CodeGen/OpenMP/recomputed-srem.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/OpenMP/recomputed-srem.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/OpenMP/recomputed-srem.ll (original)
+++ polly/trunk/test/Isl/CodeGen/OpenMP/recomputed-srem.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-codegen -polly-parallel \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-codegen -polly-parallel \
; RUN: -polly-parallel-force -S < %s | FileCheck %s
;
; Test to verify that we pass %rem96 to the parallel subfunction.
Modified: polly/trunk/test/Isl/CodeGen/partial_write_impossible_restriction.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/partial_write_impossible_restriction.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/partial_write_impossible_restriction.ll (original)
+++ polly/trunk/test/Isl/CodeGen/partial_write_impossible_restriction.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -S < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -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,
Modified: polly/trunk/test/Isl/CodeGen/partial_write_mapped_scalar.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/partial_write_mapped_scalar.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/partial_write_mapped_scalar.ll (original)
+++ polly/trunk/test/Isl/CodeGen/partial_write_mapped_scalar.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -S < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -S < %s | FileCheck %s
;
; Partial write of a (mapped) scalar.
;
Modified: polly/trunk/test/Isl/CodeGen/partial_write_mapped_vector.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/partial_write_mapped_vector.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/partial_write_mapped_vector.ll (original)
+++ polly/trunk/test/Isl/CodeGen/partial_write_mapped_vector.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-vectorizer=polly -polly-opt-isl -polly-ast -polly-codegen -S < %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-vectorizer=polly -polly-opt-isl -polly-ast -polly-codegen -S < %s | FileCheck %s
;
; Polly's vectorizer does not support partial accesses.
;
Modified: polly/trunk/test/Isl/CodeGen/unpredictable-loop-unsynthesizable.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Isl/CodeGen/unpredictable-loop-unsynthesizable.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Isl/CodeGen/unpredictable-loop-unsynthesizable.ll (original)
+++ polly/trunk/test/Isl/CodeGen/unpredictable-loop-unsynthesizable.ll Fri Feb 2 22:59:47 2018
@@ -1,6 +1,6 @@
-; RUN: opt %loadPolly -polly-scops -analyze \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-codegen -analyze \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-codegen -analyze \
; RUN: -polly-invariant-load-hoisting=true < %s
; The loop for.body is a scop with invariant load hoisting, but does not
Modified: polly/trunk/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll (original)
+++ polly/trunk/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: not opt %loadPolly -polly-scops -analyze -polly-import-jscop -polly-import-jscop-postfix=transformed < %s 2>&1 | FileCheck %s
+; RUN: not opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-import-jscop -polly-import-jscop-postfix=transformed < %s 2>&1 | FileCheck %s
;
; #define Ni 1056
; #define Nj 1056
Modified: polly/trunk/test/MaximalStaticExpansion/load_after_store_same_statement.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/MaximalStaticExpansion/load_after_store_same_statement.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/MaximalStaticExpansion/load_after_store_same_statement.ll (original)
+++ polly/trunk/test/MaximalStaticExpansion/load_after_store_same_statement.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-mse -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-mse -pass-remarks-analysis="polly-mse" -analyze < %s 2>&1| FileCheck %s --check-prefix=MSE
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-mse -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-mse -pass-remarks-analysis="polly-mse" -analyze < %s 2>&1| FileCheck %s --check-prefix=MSE
;
; Verify that the expansion of an array with load after store in a same statement is not done.
;
Modified: polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_dependences_per_statement.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_dependences_per_statement.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_dependences_per_statement.ll (original)
+++ polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_dependences_per_statement.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-mse -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-mse -analyze < %s | FileCheck %s
;
; Verify that the accesses are correctly expanded
;
Modified: polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_instruction_per_statement.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_instruction_per_statement.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_instruction_per_statement.ll (original)
+++ polly/trunk/test/MaximalStaticExpansion/working_expansion_multiple_instruction_per_statement.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-mse -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-mse -analyze < %s | FileCheck %s
;
; Verify that the accesses are correctly expanded
;
Modified: polly/trunk/test/MaximalStaticExpansion/working_phi_two_scalars.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/MaximalStaticExpansion/working_phi_two_scalars.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/MaximalStaticExpansion/working_phi_two_scalars.ll (original)
+++ polly/trunk/test/MaximalStaticExpansion/working_phi_two_scalars.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-mse -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-mse -pass-remarks-analysis="polly-mse" -analyze < %s 2>&1 | FileCheck %s --check-prefix=MSE
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-mse -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-mse -pass-remarks-analysis="polly-mse" -analyze < %s 2>&1 | FileCheck %s --check-prefix=MSE
;
; Verify that the accesses are correctly expanded for MemoryKind::PHI
; tmp_05 and tmp2_06 are not expanded because they need copy-in.
Modified: polly/trunk/test/PruneUnprofitable/prune_only_scalardeps.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/PruneUnprofitable/prune_only_scalardeps.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/PruneUnprofitable/prune_only_scalardeps.ll (original)
+++ polly/trunk/test/PruneUnprofitable/prune_only_scalardeps.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-process-unprofitable=false -polly-unprofitable-scalar-accs=false -polly-prune-unprofitable -disable-output -stats < %s 2>&1 | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-process-unprofitable=false -polly-unprofitable-scalar-accs=false -polly-prune-unprofitable -disable-output -stats < %s 2>&1 | FileCheck -match-full-lines %s
; REQUIRES: asserts
;
; Skip this SCoP for having scalar dependencies between all statements,
Modified: polly/trunk/test/ScopInfo/branch-references-loop-scev-with-unknown-iterations-3.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/branch-references-loop-scev-with-unknown-iterations-3.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/branch-references-loop-scev-with-unknown-iterations-3.ll (original)
+++ polly/trunk/test/ScopInfo/branch-references-loop-scev-with-unknown-iterations-3.ll Fri Feb 2 22:59:47 2018
@@ -1,6 +1,6 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | \
; RUN: FileCheck %s -check-prefix=NONAFFINE
-; RUN: opt %loadPolly -polly-scops -analyze \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze \
; RUN: -polly-allow-nonaffine-branches=false < %s | \
; RUN: FileCheck %s -check-prefix=NO-NONEAFFINE
Modified: polly/trunk/test/ScopInfo/condition-after-error-block-2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/condition-after-error-block-2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/condition-after-error-block-2.ll (original)
+++ polly/trunk/test/ScopInfo/condition-after-error-block-2.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
; Verify that we do not allow PHI nodes such as %phi, if they reference an error
; block and are used by anything else than a terminator instruction.
Modified: polly/trunk/test/ScopInfo/condtion-after-error-block.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/condtion-after-error-block.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/condtion-after-error-block.ll (original)
+++ polly/trunk/test/ScopInfo/condtion-after-error-block.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
; Verify that we allow scops containing uniform branch conditions, where all
; but one incoming block comes from an error condition.
Modified: polly/trunk/test/ScopInfo/const_srem_sdiv.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/const_srem_sdiv.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/const_srem_sdiv.ll (original)
+++ polly/trunk/test/ScopInfo/const_srem_sdiv.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s
;
; See http://research.microsoft.com/pubs/151917/divmodnote-letter.pdf
Modified: polly/trunk/test/ScopInfo/constant_functions_multi_dim.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/constant_functions_multi_dim.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/constant_functions_multi_dim.ll (original)
+++ polly/trunk/test/ScopInfo/constant_functions_multi_dim.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze \
; RUN: -polly-detect-full-functions < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Modified: polly/trunk/test/ScopInfo/delinearize-together-all-data-refs.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/delinearize-together-all-data-refs.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/delinearize-together-all-data-refs.ll (original)
+++ polly/trunk/test/ScopInfo/delinearize-together-all-data-refs.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
; void foo(long n, long m, long o, double A[n][m][o]) {
; for (long i = 0; i < n-3; i++)
Modified: polly/trunk/test/ScopInfo/escaping_empty_scop.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/escaping_empty_scop.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/escaping_empty_scop.ll (original)
+++ polly/trunk/test/ScopInfo/escaping_empty_scop.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
;
; void g();
; int f(int *A) {
Modified: polly/trunk/test/ScopInfo/exit-phi-1.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/exit-phi-1.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/exit-phi-1.ll (original)
+++ polly/trunk/test/ScopInfo/exit-phi-1.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-codegen -S < %s | FileCheck %s --check-prefix=CODEGEN
;
; Check for correct code generation of exit PHIs, even if the same PHI value
; is used again inside the the SCoP.
Modified: polly/trunk/test/ScopInfo/exit-phi-2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/exit-phi-2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/exit-phi-2.ll (original)
+++ polly/trunk/test/ScopInfo/exit-phi-2.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
;
; Check that there is no MK_ExitPHI READ access.
;
Modified: polly/trunk/test/ScopInfo/exit_phi_accesses-2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/exit_phi_accesses-2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/exit_phi_accesses-2.ll (original)
+++ polly/trunk/test/ScopInfo/exit_phi_accesses-2.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -analyze -polly-scops %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -analyze -polly-scops %s | FileCheck %s
; CHECK-LABEL: Function: foo
;
Modified: polly/trunk/test/ScopInfo/invariant_load_complex_condition.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/invariant_load_complex_condition.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/invariant_load_complex_condition.ll (original)
+++ polly/trunk/test/ScopInfo/invariant_load_complex_condition.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -S -polly-scops -analyze \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -S -polly-scops -analyze \
; RUN: -polly-invariant-load-hoisting=true < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Modified: polly/trunk/test/ScopInfo/loop_carry.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/loop_carry.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/loop_carry.ll (original)
+++ polly/trunk/test/ScopInfo/loop_carry.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-scops -analyze < %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"
Modified: polly/trunk/test/ScopInfo/many-scalar-dependences.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/many-scalar-dependences.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/many-scalar-dependences.ll (original)
+++ polly/trunk/test/ScopInfo/many-scalar-dependences.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
;
; void f(float a[100][100]) {
; float x;
Modified: polly/trunk/test/ScopInfo/mod_ref_access_pointee_arguments.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/mod_ref_access_pointee_arguments.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/mod_ref_access_pointee_arguments.ll (original)
+++ polly/trunk/test/ScopInfo/mod_ref_access_pointee_arguments.ll Fri Feb 2 22:59:47 2018
@@ -1,6 +1,6 @@
-; RUN: opt %loadPolly -basicaa -polly-scops -analyze -polly-allow-modref-calls \
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-scops -analyze -polly-allow-modref-calls \
; RUN: < %s | FileCheck %s
-; RUN: opt %loadPolly -basicaa -polly-codegen -polly-allow-modref-calls \
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-codegen -polly-allow-modref-calls \
; RUN: -disable-output < %s
;
; Verify that we model the may-write access of the prefetch intrinsic
Modified: polly/trunk/test/ScopInfo/mod_ref_read_pointee_arguments.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/mod_ref_read_pointee_arguments.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/mod_ref_read_pointee_arguments.ll (original)
+++ polly/trunk/test/ScopInfo/mod_ref_read_pointee_arguments.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-scops -analyze -polly-allow-modref-calls \
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-scops -analyze -polly-allow-modref-calls \
; RUN: < %s | FileCheck %s
; RUN: opt %loadPolly -basicaa -polly-codegen -disable-output \
; RUN: -polly-allow-modref-calls < %s
Modified: polly/trunk/test/ScopInfo/multidim_2d_with_modref_call.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multidim_2d_with_modref_call.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multidim_2d_with_modref_call.ll (original)
+++ polly/trunk/test/ScopInfo/multidim_2d_with_modref_call.ll Fri Feb 2 22:59:47 2018
@@ -1,7 +1,7 @@
-; RUN: opt %loadPolly -polly-scops -analyze -polly-allow-modref-calls \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-allow-modref-calls \
; RUN: -polly-invariant-load-hoisting=true \
; RUN: < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-scops -polly-allow-nonaffine -analyze \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -polly-allow-nonaffine -analyze \
; RUN: -polly-invariant-load-hoisting=true \
; RUN: -polly-allow-modref-calls < %s | FileCheck %s --check-prefix=NONAFFINE
Modified: polly/trunk/test/ScopInfo/multidim_2d_with_modref_call_2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multidim_2d_with_modref_call_2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multidim_2d_with_modref_call_2.ll (original)
+++ polly/trunk/test/ScopInfo/multidim_2d_with_modref_call_2.ll Fri Feb 2 22:59:47 2018
@@ -1,7 +1,7 @@
-; RUN: opt %loadPolly -polly-scops -analyze -polly-allow-modref-calls \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-allow-modref-calls \
; RUN: -polly-invariant-load-hoisting=true \
; RUN: < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-scops -polly-allow-nonaffine \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -polly-allow-nonaffine \
; RUN: -polly-invariant-load-hoisting=true \
; RUN: -polly-allow-modref-calls -analyze < %s | FileCheck %s --check-prefix=NONAFFINE
Modified: polly/trunk/test/ScopInfo/multidim_fixedsize_multi_offset.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multidim_fixedsize_multi_offset.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multidim_fixedsize_multi_offset.ll (original)
+++ polly/trunk/test/ScopInfo/multidim_fixedsize_multi_offset.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
;
; CHECK: Context:
; CHECK-NEXT: { : }
Modified: polly/trunk/test/ScopInfo/multidim_fold_constant_dim_zero.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multidim_fold_constant_dim_zero.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multidim_fold_constant_dim_zero.ll (original)
+++ polly/trunk/test/ScopInfo/multidim_fold_constant_dim_zero.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze -debug -S < %s 2>&1 | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -debug -S < %s 2>&1 | FileCheck %s
; REQUIRES: asserts
Modified: polly/trunk/test/ScopInfo/multidim_fortran_2d_with_modref_call.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multidim_fortran_2d_with_modref_call.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multidim_fortran_2d_with_modref_call.ll (original)
+++ polly/trunk/test/ScopInfo/multidim_fortran_2d_with_modref_call.ll Fri Feb 2 22:59:47 2018
@@ -1,7 +1,7 @@
-; RUN: opt %loadPolly -polly-scops -analyze -polly-allow-modref-calls \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-allow-modref-calls \
; RUN: -polly-invariant-load-hoisting=true \
; RUN: < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-scops -polly-allow-nonaffine -analyze \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -polly-allow-nonaffine -analyze \
; RUN: -polly-invariant-load-hoisting=true \
; RUN: -polly-allow-modref-calls < %s | FileCheck %s --check-prefix=NONAFFINE
Modified: polly/trunk/test/ScopInfo/multidim_fortran_srem.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multidim_fortran_srem.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multidim_fortran_srem.ll (original)
+++ polly/trunk/test/ScopInfo/multidim_fortran_srem.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
target datalayout = "e-p:64:64:64-S128-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-f128:128:128-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
; CHECK: Statements {
Modified: polly/trunk/test/ScopInfo/multidim_nested_start_share_parameter.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multidim_nested_start_share_parameter.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multidim_nested_start_share_parameter.ll (original)
+++ polly/trunk/test/ScopInfo/multidim_nested_start_share_parameter.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %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"
; void foo(long n, long m, long o, double A[n][m][o]) {
Modified: polly/trunk/test/ScopInfo/multidim_with_bitcast.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multidim_with_bitcast.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multidim_with_bitcast.ll (original)
+++ polly/trunk/test/ScopInfo/multidim_with_bitcast.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Modified: polly/trunk/test/ScopInfo/multiple-types-access-offset-not-dividable-by-element-size.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multiple-types-access-offset-not-dividable-by-element-size.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multiple-types-access-offset-not-dividable-by-element-size.ll (original)
+++ polly/trunk/test/ScopInfo/multiple-types-access-offset-not-dividable-by-element-size.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -pass-remarks-analysis="polly-scops" \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -pass-remarks-analysis="polly-scops" \
; RUN: -polly-allow-differing-element-types \
; RUN: -analyze < %s 2>&1 | FileCheck %s
;
Modified: polly/trunk/test/ScopInfo/multiple-types-non-affine-2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multiple-types-non-affine-2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multiple-types-non-affine-2.ll (original)
+++ polly/trunk/test/ScopInfo/multiple-types-non-affine-2.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-allow-differing-element-types -polly-scops -polly-allow-nonaffine -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-allow-differing-element-types -polly-codegen -polly-allow-nonaffine -analyze
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-allow-differing-element-types -polly-scops -polly-allow-nonaffine -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-allow-differing-element-types -polly-codegen -polly-allow-nonaffine -analyze
;
; // Check that accessing one array with different types works,
; // even though some accesses are non-affine.
Modified: polly/trunk/test/ScopInfo/multiple-types-non-affine.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multiple-types-non-affine.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multiple-types-non-affine.ll (original)
+++ polly/trunk/test/ScopInfo/multiple-types-non-affine.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-allow-differing-element-types -polly-scops -polly-allow-nonaffine -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-allow-differing-element-types -polly-codegen -polly-allow-nonaffine -analyze
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-allow-differing-element-types -polly-scops -polly-allow-nonaffine -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-allow-differing-element-types -polly-codegen -polly-allow-nonaffine -analyze
;
; // Check that accessing one array with different types works,
; // even though some accesses are non-affine.
Modified: polly/trunk/test/ScopInfo/multiple-types.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/multiple-types.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/multiple-types.ll (original)
+++ polly/trunk/test/ScopInfo/multiple-types.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze \
; RUN: -polly-allow-differing-element-types < %s | FileCheck %s
;
; // Check that accessing one array with different types works.
Modified: polly/trunk/test/ScopInfo/non-affine-region-with-loop-2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/non-affine-region-with-loop-2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/non-affine-region-with-loop-2.ll (original)
+++ polly/trunk/test/ScopInfo/non-affine-region-with-loop-2.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-allow-nonaffine-loops -polly-scops -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-allow-nonaffine-loops -polly-codegen -analyze
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-allow-nonaffine-loops -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-allow-nonaffine-loops -polly-codegen -analyze
;
; CHECK: Stmt_loop3
; CHECK: Domain :=
Modified: polly/trunk/test/ScopInfo/out-of-scop-use-in-region-entry-phi-node.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/out-of-scop-use-in-region-entry-phi-node.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/out-of-scop-use-in-region-entry-phi-node.ll (original)
+++ polly/trunk/test/ScopInfo/out-of-scop-use-in-region-entry-phi-node.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
; CHECK: MustWriteAccess := [Reduction Type: NONE] [Scalar: 1]
; CHECK-NEXT: [p_0] -> { Stmt_bb3[] -> MemRef_tmp5[] };
Modified: polly/trunk/test/ScopInfo/parameter-constant-division.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/parameter-constant-division.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/parameter-constant-division.ll (original)
+++ polly/trunk/test/ScopInfo/parameter-constant-division.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops \
; RUN: -polly-invariant-load-hoisting=true \
; RUN: -analyze -S < %s | FileCheck %s
;
Modified: polly/trunk/test/ScopInfo/phi_after_error_block.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/phi_after_error_block.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/phi_after_error_block.ll (original)
+++ polly/trunk/test/ScopInfo/phi_after_error_block.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
declare void @bar()
Modified: polly/trunk/test/ScopInfo/phi_scalar_simple_2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/phi_scalar_simple_2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/phi_scalar_simple_2.ll (original)
+++ polly/trunk/test/ScopInfo/phi_scalar_simple_2.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
;
; int jd(int *restrict A, int x, int N, int c) {
; for (int i = 0; i < N; i++)
Modified: polly/trunk/test/ScopInfo/pointer-used-as-base-pointer-and-scalar-read.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/pointer-used-as-base-pointer-and-scalar-read.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/pointer-used-as-base-pointer-and-scalar-read.ll (original)
+++ polly/trunk/test/ScopInfo/pointer-used-as-base-pointer-and-scalar-read.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
; In this test case we pass a pointer %A into a PHI node and also use this
; pointer as base pointer of an array store. As a result, we get both scalar
Modified: polly/trunk/test/ScopInfo/polly-timeout-parameter-bounds.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/polly-timeout-parameter-bounds.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/polly-timeout-parameter-bounds.ll (original)
+++ polly/trunk/test/ScopInfo/polly-timeout-parameter-bounds.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
; CHECK: Statements {
; CHECK-NEXT: Stmt_bb9
Modified: polly/trunk/test/ScopInfo/process_added_dimensions.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/process_added_dimensions.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/process_added_dimensions.ll (original)
+++ polly/trunk/test/ScopInfo/process_added_dimensions.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
; CHECK: Context:
; CHECK-NEXT: { : }
Modified: polly/trunk/test/ScopInfo/read-only-scalars.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/read-only-scalars.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/read-only-scalars.ll (original)
+++ polly/trunk/test/ScopInfo/read-only-scalars.ll Fri Feb 2 22:59:47 2018
@@ -1,6 +1,6 @@
-; RUN: opt %loadPolly -polly-analyze-read-only-scalars=false -polly-scops \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-analyze-read-only-scalars=false -polly-scops \
; RUN: -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-analyze-read-only-scalars=true -polly-scops \
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-analyze-read-only-scalars=true -polly-scops \
; RUN: -analyze < %s | FileCheck %s \
; RUN: -check-prefix=SCALARS
Modified: polly/trunk/test/ScopInfo/reduction_disabled_multiplicative.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/reduction_disabled_multiplicative.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/reduction_disabled_multiplicative.ll (original)
+++ polly/trunk/test/ScopInfo/reduction_disabled_multiplicative.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt -basicaa %loadPolly -polly-scops -analyze -polly-disable-multiplicative-reductions < %s | FileCheck %s
+; RUN: opt -basicaa %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-disable-multiplicative-reductions < %s | FileCheck %s
;
; CHECK: ReadAccess := [Reduction Type: +
; CHECK: { Stmt_for_body[i0] -> MemRef_sum[0] };
Modified: polly/trunk/test/ScopInfo/reduction_escaping_intermediate_2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/reduction_escaping_intermediate_2.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/reduction_escaping_intermediate_2.ll (original)
+++ polly/trunk/test/ScopInfo/reduction_escaping_intermediate_2.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -basicaa -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -basicaa -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
;
; void f(int N, int * restrict sums, int * restrict escape) {
; int i, j;
Modified: polly/trunk/test/ScopInfo/reduction_invalid_overlapping_accesses.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/reduction_invalid_overlapping_accesses.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/reduction_invalid_overlapping_accesses.ll (original)
+++ polly/trunk/test/ScopInfo/reduction_invalid_overlapping_accesses.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
;
; void f(int *sums) {
; int i, j;
Modified: polly/trunk/test/ScopInfo/reduction_multiple_simple_binary.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/reduction_multiple_simple_binary.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/reduction_multiple_simple_binary.ll (original)
+++ polly/trunk/test/ScopInfo/reduction_multiple_simple_binary.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt -basicaa %loadPolly -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt -basicaa %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s
;
; CHECK: ReadAccess := [Reduction Type: NONE
; CHECK: { Stmt_for_body[i0] -> MemRef_A[1 + i0] };
Modified: polly/trunk/test/ScopInfo/stmt_split_phi_in_stmt.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/stmt_split_phi_in_stmt.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/stmt_split_phi_in_stmt.ll (original)
+++ polly/trunk/test/ScopInfo/stmt_split_phi_in_stmt.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze -polly-print-instructions < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-print-instructions < %s | FileCheck %s
;
; CHECK: Statements {
; CHECK-NEXT: Stmt_Stmt
Modified: polly/trunk/test/ScopInfo/stmt_split_scalar_dependence.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/stmt_split_scalar_dependence.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/stmt_split_scalar_dependence.ll (original)
+++ polly/trunk/test/ScopInfo/stmt_split_scalar_dependence.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze -polly-print-instructions < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-print-instructions < %s | FileCheck %s
;
; CHECK: Statements {
; CHECK-NEXT: Stmt_Stmt
Modified: polly/trunk/test/ScopInfo/stmt_split_within_loop.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/stmt_split_within_loop.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/stmt_split_within_loop.ll (original)
+++ polly/trunk/test/ScopInfo/stmt_split_within_loop.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze -polly-print-instructions < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-print-instructions < %s | FileCheck %s
;
; CHECK: Statements {
; CHECK-NEXT: Stmt_Stmt
Modified: polly/trunk/test/ScopInfo/unpredictable_nonscop_loop.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/unpredictable_nonscop_loop.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/unpredictable_nonscop_loop.ll (original)
+++ polly/trunk/test/ScopInfo/unpredictable_nonscop_loop.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze < %s | FileCheck %s -match-full-lines
; Derived from test-suite/MultiSource/Applications/sgefa/blas.c
;
; The exit value of %i.0320 in land.rhs is not computable.
Modified: polly/trunk/test/ScopInfo/unprofitable_scalar-accs.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/unprofitable_scalar-accs.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/unprofitable_scalar-accs.ll (original)
+++ polly/trunk/test/ScopInfo/unprofitable_scalar-accs.ll Fri Feb 2 22:59:47 2018
@@ -1,5 +1,5 @@
-; RUN: opt %loadPolly -polly-process-unprofitable=false -polly-unprofitable-scalar-accs=false -polly-scops -analyze < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-process-unprofitable=false -polly-unprofitable-scalar-accs=true -polly-scops -analyze < %s | FileCheck %s --check-prefix=HEURISTIC
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-process-unprofitable=false -polly-unprofitable-scalar-accs=false -polly-scops -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-process-unprofitable=false -polly-unprofitable-scalar-accs=true -polly-scops -analyze < %s | FileCheck %s --check-prefix=HEURISTIC
; Check the effect of -polly-unprofitable-scalar-accs
Modified: polly/trunk/test/Simplify/coalesce_3partials.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/coalesce_3partials.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/coalesce_3partials.ll (original)
+++ polly/trunk/test/Simplify/coalesce_3partials.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Combine 3 partial accesses into one.
;
Modified: polly/trunk/test/Simplify/coalesce_disjointelements.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/coalesce_disjointelements.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/coalesce_disjointelements.ll (original)
+++ polly/trunk/test/Simplify/coalesce_disjointelements.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Combine four partial stores into two.
; The stores write to the same array, but never the same element.
Modified: polly/trunk/test/Simplify/coalesce_overlapping.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/coalesce_overlapping.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/coalesce_overlapping.ll (original)
+++ polly/trunk/test/Simplify/coalesce_overlapping.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Combine two partial stores (with overlapping domains) into one.
;
Modified: polly/trunk/test/Simplify/coalesce_partial.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/coalesce_partial.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/coalesce_partial.ll (original)
+++ polly/trunk/test/Simplify/coalesce_partial.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Combine two partial stores (with disjoint domains) into one.
;
Modified: polly/trunk/test/Simplify/dead_access_load.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/dead_access_load.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/dead_access_load.ll (original)
+++ polly/trunk/test/Simplify/dead_access_load.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
;
; Remove a dead load-instruction
; (an load whose result is not used anywhere)
Modified: polly/trunk/test/Simplify/dead_access_phi.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/dead_access_phi.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/dead_access_phi.ll (original)
+++ polly/trunk/test/Simplify/dead_access_phi.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
;
; Remove a dead PHI write/read pair
; (accesses that are effectively not used)
Modified: polly/trunk/test/Simplify/dead_access_value.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/dead_access_value.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/dead_access_value.ll (original)
+++ polly/trunk/test/Simplify/dead_access_value.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
;
; Remove a dead value write/read pair
; (accesses that are effectively not used)
Modified: polly/trunk/test/Simplify/dead_instruction.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/dead_instruction.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/dead_instruction.ll (original)
+++ polly/trunk/test/Simplify/dead_instruction.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
;
; Remove a dead instruction
; (an instruction whose result is not used anywhere)
Modified: polly/trunk/test/Simplify/nocoalesce_differentvalues.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/nocoalesce_differentvalues.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/nocoalesce_differentvalues.ll (original)
+++ polly/trunk/test/Simplify/nocoalesce_differentvalues.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Do not combine stores that write different values.
;
Modified: polly/trunk/test/Simplify/nocoalesce_elementmismatch.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/nocoalesce_elementmismatch.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/nocoalesce_elementmismatch.ll (original)
+++ polly/trunk/test/Simplify/nocoalesce_elementmismatch.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Do not combine stores that do not write to different elements in the
; same instance.
Modified: polly/trunk/test/Simplify/nocoalesce_readbetween.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/nocoalesce_readbetween.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/nocoalesce_readbetween.ll (original)
+++ polly/trunk/test/Simplify/nocoalesce_readbetween.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Do not combine stores if there is a read between them.
; Note: The read between is unused, so will be removed by markAndSweep.
Modified: polly/trunk/test/Simplify/nocoalesce_writebetween.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/nocoalesce_writebetween.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/nocoalesce_writebetween.ll (original)
+++ polly/trunk/test/Simplify/nocoalesce_writebetween.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Do not combine stores if there is a write between them.
;
Modified: polly/trunk/test/Simplify/notredundant_synthesizable_unknownit.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/notredundant_synthesizable_unknownit.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/notredundant_synthesizable_unknownit.ll (original)
+++ polly/trunk/test/Simplify/notredundant_synthesizable_unknownit.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-simplify -analyze < %s | FileCheck %s -match-full-lines
;
; Do not remove the scalar value write of %i.trunc in inner.for.
; It is used by body.
Modified: polly/trunk/test/Simplify/out-of-scop-use-in-region-entry-phi-node.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/out-of-scop-use-in-region-entry-phi-node.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/out-of-scop-use-in-region-entry-phi-node.ll (original)
+++ polly/trunk/test/Simplify/out-of-scop-use-in-region-entry-phi-node.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-scops -polly-simplify -analyze < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-scops -polly-simplify -analyze < %s | FileCheck %s
;
; %tmp5 must keep the Value WRITE MemoryAccess, because as an incoming value of
; %tmp4, it is an "external use".
Modified: polly/trunk/test/Simplify/overwritten.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/overwritten.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/overwritten.ll (original)
+++ polly/trunk/test/Simplify/overwritten.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Remove a store that is overwritten by another store in the same statement.
;
Modified: polly/trunk/test/Simplify/overwritten_3store.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/Simplify/overwritten_3store.ll?rev=324169&r1=324168&r2=324169&view=diff
==============================================================================
--- polly/trunk/test/Simplify/overwritten_3store.ll (original)
+++ polly/trunk/test/Simplify/overwritten_3store.ll Fri Feb 2 22:59:47 2018
@@ -1,4 +1,4 @@
-; RUN: opt %loadPolly -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
+; RUN: opt %loadPolly -polly-stmt-granularity=bb -polly-simplify -analyze < %s | FileCheck -match-full-lines %s
;
; Remove a store that is overwritten by another store in the same statement.
; Check that even multiple stores are removed.
More information about the llvm-commits
mailing list