[PATCH] D16095: [Polly] Prepare unit tests for update to ISL 0.16 (WIP)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 16:05:35 PST 2016


Meinersbur created this revision.
Meinersbur added reviewers: grosser, jdoerfert.
Meinersbur added subscribers: pollydev, llvm-commits.
Meinersbur added a project: Polly.

ISL 0.16 will change how sets are printed which breaks 96 unit tests that text-compare printed sets. This patch re-formats most of these unit tests using a script. When actually updating ISL, most work is done by just re-running the script to adapt to the changed output.

Some tests that compare IR and tests with single CHECK-lines that can be easily updated manually are not included here.

The re-format script is available at [[https://github.com/Meinersbur/polly/blob/update_test/test/update_check.py]] and will also be committed afterwards. [[https://github.com/Meinersbur/polly/blob/update_test/test/CMakeLists.txt]] contains the reformat options for each individual file s.t. it matches the existing unit test as close as possible.

This revision only contains the script-reformatted files. Some manual changes are necessary to remove clutter and preserve some of the checks of the original tests. I am waiting for feedback for the generated part before any manual editing before those would get lost if a regeneration becomes necessary.

http://reviews.llvm.org/D16095

Files:
  test/DependenceInfo/computeout.ll
  test/DependenceInfo/do_pluto_matmult.ll
  test/DependenceInfo/reduction_complex_location.ll
  test/DependenceInfo/reduction_dependences_equal_non_reduction_dependences.ll
  test/DependenceInfo/reduction_mixed_reduction_and_non_reduction_dependences.ll
  test/DependenceInfo/reduction_multiple_loops_array_sum.ll
  test/DependenceInfo/reduction_multiple_loops_array_sum_2.ll
  test/DependenceInfo/reduction_multiple_loops_array_sum_3.ll
  test/DependenceInfo/reduction_multiple_reductions.ll
  test/DependenceInfo/reduction_multiple_reductions_2.ll
  test/DependenceInfo/reduction_partially_escaping_intermediate_in_other_stmt.ll
  test/DependenceInfo/reduction_privatization_deps.ll
  test/DependenceInfo/reduction_privatization_deps_2.ll
  test/DependenceInfo/reduction_privatization_deps_3.ll
  test/DependenceInfo/reduction_privatization_deps_4.ll
  test/DependenceInfo/reduction_privatization_deps_5.ll
  test/DependenceInfo/reduction_simple_iv.ll
  test/DependenceInfo/reduction_simple_iv_debug_wrapped_dependences.ll
  test/DependenceInfo/reduction_simple_privatization_deps_2.ll
  test/DependenceInfo/reduction_simple_privatization_deps_w_parameter.ll
  test/DependenceInfo/reduction_two_reductions_different_rloops.ll
  test/DependenceInfo/sequential_loops.ll
  test/ScheduleOptimizer/full_partial_tile_separation.ll
  test/ScopInfo/NonAffine/div_domain.ll
  test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_1.ll
  test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_2.ll
  test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll
  test/ScopInfo/NonAffine/non_affine_access_with_range_2.ll
  test/ScopInfo/NonAffine/non_affine_but_sdiv.ll
  test/ScopInfo/NonAffine/non_affine_but_srem.ll
  test/ScopInfo/NonAffine/non_affine_conditional_surrounding_affine_loop.ll
  test/ScopInfo/NonAffine/non_affine_conditional_surrounding_non_affine_loop.ll
  test/ScopInfo/NonAffine/non_affine_float_compare.ll
  test/ScopInfo/NonAffine/non_affine_loop_condition.ll
  test/ScopInfo/NonAffine/non_affine_loop_used_later.ll
  test/ScopInfo/NonAffine/non_affine_parametric_loop.ll
  test/ScopInfo/assume_gep_bounds_2.ll
  test/ScopInfo/cfg_consequences.ll
  test/ScopInfo/complex-loop-nesting.ll
  test/ScopInfo/eager-binary-and-or-conditions.ll
  test/ScopInfo/exit_phi_accesses-2.ll
  test/ScopInfo/exit_phi_accesses.ll
  test/ScopInfo/intra-non-affine-stmt-phi-node.ll
  test/ScopInfo/intra_and_inter_bb_scalar_dep.ll
  test/ScopInfo/invariant-loads-leave-read-only-statements.ll
  test/ScopInfo/invariant_load_access_classes_different_base_type_escaping.ll
  test/ScopInfo/invariant_load_access_classes_different_base_type_same_pointer.ll
  test/ScopInfo/invariant_load_access_classes_different_base_type_same_pointer_escaping.ll
  test/ScopInfo/invariant_loads_complicated_dependences.ll
  test/ScopInfo/invariant_loop_bounds.ll
  test/ScopInfo/invariant_same_loop_bound_multiple_times-1.ll
  test/ScopInfo/invariant_same_loop_bound_multiple_times-2.ll
  test/ScopInfo/isl_trip_count_03.ll
  test/ScopInfo/long-sequence-of-error-blocks.ll
  test/ScopInfo/loop_affine_bound_0.ll
  test/ScopInfo/loop_affine_bound_1.ll
  test/ScopInfo/loop_affine_bound_2.ll
  test/ScopInfo/loop_carry.ll
  test/ScopInfo/many-scalar-dependences.ll
  test/ScopInfo/multidim_2d_outer_parametric_offset.ll
  test/ScopInfo/multidim_2d_parametric_array_static_loop_bounds.ll
  test/ScopInfo/multidim_3d_parametric_array_static_loop_bounds.ll
  test/ScopInfo/multidim_fixedsize_different_dimensionality.ll
  test/ScopInfo/multidim_fortran_srem.ll
  test/ScopInfo/multidim_ivs_and_integer_offsets_3d.ll
  test/ScopInfo/multidim_ivs_and_parameteric_offsets_3d.ll
  test/ScopInfo/multidim_nested_start_integer.ll
  test/ScopInfo/multidim_only_ivs_2d.ll
  test/ScopInfo/multidim_only_ivs_3d.ll
  test/ScopInfo/multidim_only_ivs_3d_cast.ll
  test/ScopInfo/multidim_only_ivs_3d_reverse.ll
  test/ScopInfo/multidim_single_and_multidim_array.ll
  test/ScopInfo/multidim_srem.ll
  test/ScopInfo/nested-loops.ll
  test/ScopInfo/non_affine_region_1.ll
  test/ScopInfo/non_affine_region_2.ll
  test/ScopInfo/non_affine_region_3.ll
  test/ScopInfo/non_affine_region_4.ll
  test/ScopInfo/phi_condition_modeling_2.ll
  test/ScopInfo/phi_loop_carried_float.ll
  test/ScopInfo/phi_scalar_simple_1.ll
  test/ScopInfo/phi_scalar_simple_2.ll
  test/ScopInfo/pointer-used-as-base-pointer-and-scalar-read.ll
  test/ScopInfo/read-only-scalar-used-in-phi.ll
  test/ScopInfo/read-only-statements.ll
  test/ScopInfo/remarks.ll
  test/ScopInfo/scalar.ll
  test/ScopInfo/simple_loop_1.ll
  test/ScopInfo/switch-1.ll
  test/ScopInfo/switch-2.ll
  test/ScopInfo/switch-3.ll
  test/ScopInfo/switch-4.ll
  test/ScopInfo/switch-5.ll
  test/ScopInfo/switch-6.ll
  test/ScopInfo/switch-7.ll
  test/ScopInfo/tempscop-printing.ll
  test/ScopInfo/two-loops-right-after-each-other.ll
  test/ScopInfo/unsigned-condition.ll
  test/ScopInfo/user_context.ll
  test/ScopInfo/user_provided_assumptions.ll
  test/ScopInfo/user_provided_non_dominating_assumptions.ll
  test/ScopInfo/wraping_signed_expr_2.ll
  test/ScopInfo/wraping_signed_expr_4.ll
  test/ScopInfo/wraping_signed_expr_5.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16095.44573.patch
Type: text/x-patch
Size: 326293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160112/28157b64/attachment-0001.bin>


More information about the llvm-commits mailing list