[PATCH] D45493: [Polly][NewPM] Port IslAst, ScopDetect, and ScopInfo lit testsuites over to the new PM

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 10 08:36:35 PDT 2018


philip.pfaffe created this revision.
philip.pfaffe added reviewers: grosser, Meinersbur.
Herald added a reviewer: bollu.
Herald added a subscriber: bollu.

These changes are entirely mechanic, using the new-pm pipeline specifications.
I didn't do these changes by hand but instead used a small
tool <https://github.com/pfaffe/PassPipelineModernizer>, with a small bit of
manual polishing.

This patch depends on https://reviews.llvm.org/D45484.


Repository:
  rPLO Polly

https://reviews.llvm.org/D45493

Files:
  test/Isl/Ast/alias_simple_1.ll
  test/Isl/Ast/alias_simple_2.ll
  test/Isl/Ast/alias_simple_3.ll
  test/Isl/Ast/aliasing_multiple_alias_groups.ll
  test/Isl/Ast/aliasing_parametric_simple_1.ll
  test/Isl/Ast/aliasing_parametric_simple_2.ll
  test/Isl/Ast/domain_bounded_only_with_context.ll
  test/Isl/Ast/non_affine_access.ll
  test/Isl/Ast/reduction_clauses_onedimensional_access.ll
  test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll
  test/Isl/Ast/reduction_different_reduction_clauses.ll
  test/Isl/Ast/reduction_multiple_dimensions.ll
  test/Isl/Ast/reduction_multiple_dimensions_2.ll
  test/Isl/Ast/reduction_multiple_dimensions_3.ll
  test/Isl/Ast/reduction_multiple_dimensions_4.ll
  test/Isl/Ast/run-time-condition.ll
  test/Isl/Ast/runtime_context_with_error_blocks.ll
  test/Isl/Ast/simple-run-time-condition.ll
  test/Isl/CodeGen/20100617.ll
  test/Isl/CodeGen/20100622.ll
  test/Isl/CodeGen/20100707.ll
  test/Isl/CodeGen/20100707_2.ll
  test/Isl/CodeGen/20100708.ll
  test/Isl/CodeGen/20100708_2.ll
  test/Isl/CodeGen/20100713.ll
  test/Isl/CodeGen/20100713_2.ll
  test/Isl/CodeGen/20100717.ll
  test/Isl/CodeGen/20100718-DomInfo-2.ll
  test/Isl/CodeGen/20100718-DomInfo.ll
  test/Isl/CodeGen/20100720-MultipleConditions.ll
  test/Isl/CodeGen/20100809-IndependentBlock.ll
  test/Isl/CodeGen/20100811-ScalarDependencyBetweenBrAndCnd.ll
  test/Isl/CodeGen/20101030-Overflow.ll
  test/Isl/CodeGen/20101103-Overflow3.ll
  test/Isl/CodeGen/20101103-signmissmatch.ll
  test/Isl/CodeGen/20110226-Ignore-Dead-Code.ll
  test/Isl/CodeGen/20110226-PHI-Node-removed.ll
  test/Isl/CodeGen/20120316-InvalidCast.ll
  test/Isl/CodeGen/20120403-RHS-type-mismatch.ll
  test/Isl/CodeGen/20130211-getNumberOfIterations.ll
  test/Isl/CodeGen/20130221.ll
  test/Isl/CodeGen/20150328-SCEVExpanderIntroducesNewIV.ll
  test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll
  test/Isl/CodeGen/LoopParallelMD/loop_nest_param_parallel.ll
  test/Isl/CodeGen/LoopParallelMD/single_loop_param_parallel.ll
  test/Isl/CodeGen/MemAccess/generate-all.ll
  test/Isl/CodeGen/OpenMP/alias-metadata.ll
  test/Isl/CodeGen/OpenMP/invariant_base_pointer_preloaded.ll
  test/Isl/CodeGen/OpenMP/invariant_base_pointer_preloaded_different_bb.ll
  test/Isl/CodeGen/OpenMP/invariant_base_pointer_preloaded_pass_only_needed.ll
  test/Isl/CodeGen/OpenMP/invariant_base_pointers_preloaded.ll
  test/Isl/CodeGen/OpenMP/loop-body-references-outer-iv.ll
  test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-2.ll
  test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll
  test/Isl/CodeGen/OpenMP/loop-body-references-outer-values.ll
  test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
  test/Isl/CodeGen/OpenMP/recomputed-srem.ll
  test/Isl/CodeGen/OpenMP/reference-argument-from-non-affine-region.ll
  test/Isl/CodeGen/OpenMP/reference-other-bb.ll
  test/Isl/CodeGen/OpenMP/reference-preceeding-loop.ll
  test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll
  test/Isl/CodeGen/OpenMP/single_loop_with_param.ll
  test/Isl/CodeGen/OpenMP/two-parallel-loops-reference-outer-indvar.ll
  test/Isl/CodeGen/PHIInExit.ll
  test/Isl/CodeGen/RuntimeDebugBuilder/combine_different_values.ll
  test/Isl/CodeGen/alias-check-multi-dim.ll
  test/Isl/CodeGen/alias_metadata_too_many_arrays.ll
  test/Isl/CodeGen/aliasing_different_base_and_access_type.ll
  test/Isl/CodeGen/aliasing_different_pointer_types.ll
  test/Isl/CodeGen/aliasing_multidimensional_access.ll
  test/Isl/CodeGen/aliasing_parametric_simple_1.ll
  test/Isl/CodeGen/aliasing_parametric_simple_2.ll
  test/Isl/CodeGen/aliasing_struct_element.ll
  test/Isl/CodeGen/alignment.ll
  test/Isl/CodeGen/annotated_alias_scopes.ll
  test/Isl/CodeGen/blas_sscal_simplified.ll
  test/Isl/CodeGen/conflict-between-loop-invariant-code-hosting-and-escape-map-computation.ll
  test/Isl/CodeGen/constant_condition.ll
  test/Isl/CodeGen/create-conditional-scop.ll
  test/Isl/CodeGen/dead_invariant_load_instruction_referenced_by_parameter_1.ll
  test/Isl/CodeGen/dead_invariant_load_instruction_referenced_by_parameter_2.ll
  test/Isl/CodeGen/debug-intrinsics.ll
  test/Isl/CodeGen/dominance_problem_after_early_codegen_bailout.ll
  test/Isl/CodeGen/entry_with_trivial_phi.ll
  test/Isl/CodeGen/entry_with_trivial_phi_other_bb.ll
  test/Isl/CodeGen/error-stmt-in-non-affine-region.ll
  test/Isl/CodeGen/error_block_contains_invalid_memory_access.ll
  test/Isl/CodeGen/fortran_array_runtime_size_generation.ll
  test/Isl/CodeGen/getNumberOfIterations.ll
  test/Isl/CodeGen/hoisted_load_escapes_through_phi.ll
  test/Isl/CodeGen/hoisting_1.ll
  test/Isl/CodeGen/hoisting_2.ll
  test/Isl/CodeGen/if-conditions-in-vector-code.ll
  test/Isl/CodeGen/inner_scev_sdiv_1.ll
  test/Isl/CodeGen/inner_scev_sdiv_2.ll
  test/Isl/CodeGen/inner_scev_sdiv_3.ll
  test/Isl/CodeGen/inner_scev_sdiv_in_lb.ll
  test/Isl/CodeGen/inner_scev_sdiv_in_lb_invariant.ll
  test/Isl/CodeGen/inner_scev_sdiv_in_rtc.ll
  test/Isl/CodeGen/intrinsics_lifetime.ll
  test/Isl/CodeGen/intrinsics_misc.ll
  test/Isl/CodeGen/inv-load-lnt-crash-wrong-order-2.ll
  test/Isl/CodeGen/inv-load-lnt-crash-wrong-order-3.ll
  test/Isl/CodeGen/inv-load-lnt-crash-wrong-order.ll
  test/Isl/CodeGen/invariant-load-dimension.ll
  test/Isl/CodeGen/invariant-load-preload-base-pointer-origin-first.ll
  test/Isl/CodeGen/invariant_cannot_handle_void.ll
  test/Isl/CodeGen/invariant_load.ll
  test/Isl/CodeGen/invariant_load_address_space.ll
  test/Isl/CodeGen/invariant_load_alias_metadata.ll
  test/Isl/CodeGen/invariant_load_base_pointer.ll
  test/Isl/CodeGen/invariant_load_base_pointer_conditional.ll
  test/Isl/CodeGen/invariant_load_base_pointer_conditional_2.ll
  test/Isl/CodeGen/invariant_load_canonicalize_array_baseptrs.ll
  test/Isl/CodeGen/invariant_load_condition.ll
  test/Isl/CodeGen/invariant_load_different_sized_types.ll
  test/Isl/CodeGen/invariant_load_escaping.ll
  test/Isl/CodeGen/invariant_load_escaping_second_scop.ll
  test/Isl/CodeGen/invariant_load_hoist_alignment.ll
  test/Isl/CodeGen/invariant_load_in_non_affine_subregion.ll
  test/Isl/CodeGen/invariant_load_loop_ub.ll
  test/Isl/CodeGen/invariant_load_not_executed_but_in_parameters.ll
  test/Isl/CodeGen/invariant_load_outermost.ll
  test/Isl/CodeGen/invariant_load_parameters_cyclic_dependence.ll
  test/Isl/CodeGen/invariant_load_ptr_ptr_noalias.ll
  test/Isl/CodeGen/invariant_load_scalar_dep.ll
  test/Isl/CodeGen/invariant_load_scalar_escape_alloca_sharing.ll
  test/Isl/CodeGen/invariant_loads_from_struct_with_different_types_1.ll
  test/Isl/CodeGen/invariant_loads_from_struct_with_different_types_2.ll
  test/Isl/CodeGen/invariant_loads_ignore_parameter_bounds.ll
  test/Isl/CodeGen/invariant_verify_function_failed.ll
  test/Isl/CodeGen/invariant_verify_function_failed_2.ll
  test/Isl/CodeGen/large-numbers-in-boundary-context.ll
  test/Isl/CodeGen/loop-invariant-load-type-mismatch.ll
  test/Isl/CodeGen/loop_with_condition.ll
  test/Isl/CodeGen/loop_with_condition_2.ll
  test/Isl/CodeGen/loop_with_condition_ineq.ll
  test/Isl/CodeGen/loop_with_condition_nested.ll
  test/Isl/CodeGen/loop_with_conditional_entry_edge_split_hard_case.ll
  test/Isl/CodeGen/multidim-non-matching-typesize-2.ll
  test/Isl/CodeGen/multidim-non-matching-typesize.ll
  test/Isl/CodeGen/multidim_2d_parametric_array_static_loop_bounds.ll
  test/Isl/CodeGen/multidim_alias_check.ll
  test/Isl/CodeGen/multiple-scops-in-a-row.ll
  test/Isl/CodeGen/multiple-types-invariant-load-2.ll
  test/Isl/CodeGen/multiple-types-invariant-load.ll
  test/Isl/CodeGen/multiple_sai_fro_same_base_address.ll
  test/Isl/CodeGen/no-overflow-tracking.ll
  test/Isl/CodeGen/no_guard_bb.ll
  test/Isl/CodeGen/non-affine-dominance-generated-entering.ll
  test/Isl/CodeGen/non-affine-exit-node-dominance.ll
  test/Isl/CodeGen/non-affine-phi-node-expansion-2.ll
  test/Isl/CodeGen/non-affine-phi-node-expansion-3.ll
  test/Isl/CodeGen/non-affine-phi-node-expansion-4.ll
  test/Isl/CodeGen/non-affine-phi-node-expansion.ll
  test/Isl/CodeGen/non-affine-region-exit-phi-incoming-synthesize-2.ll
  test/Isl/CodeGen/non-affine-region-exit-phi-incoming-synthesize.ll
  test/Isl/CodeGen/non-affine-region-implicit-store.ll
  test/Isl/CodeGen/non-affine-region-phi-references-in-scop-value.ll
  test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll
  test/Isl/CodeGen/non-affine-switch.ll
  test/Isl/CodeGen/non-affine-synthesized-in-branch.ll
  test/Isl/CodeGen/non-hoisted-load-needed-as-base-ptr.ll
  test/Isl/CodeGen/non_affine_float_compare.ll
  test/Isl/CodeGen/only_non_affine_error_region.ll
  test/Isl/CodeGen/openmp_limit_threads.ll
  test/Isl/CodeGen/out-of-scop-phi-node-use.ll
  test/Isl/CodeGen/param_div_div_div_2.ll
  test/Isl/CodeGen/partial_write_full_write_that_appears_partial.ll
  test/Isl/CodeGen/perf_monitoring.ll
  test/Isl/CodeGen/perf_monitoring_cycles_per_scop.ll
  test/Isl/CodeGen/perf_monitoring_trip_counts_per_scop.ll
  test/Isl/CodeGen/phi-defined-before-scop.ll
  test/Isl/CodeGen/phi_condition_modeling_1.ll
  test/Isl/CodeGen/phi_condition_modeling_2.ll
  test/Isl/CodeGen/phi_conditional_simple_1.ll
  test/Isl/CodeGen/phi_in_exit_early_lnt_failure_1.ll
  test/Isl/CodeGen/phi_in_exit_early_lnt_failure_2.ll
  test/Isl/CodeGen/phi_in_exit_early_lnt_failure_3.ll
  test/Isl/CodeGen/phi_in_exit_early_lnt_failure_5.ll
  test/Isl/CodeGen/phi_loop_carried_float.ll
  test/Isl/CodeGen/phi_loop_carried_float_escape.ll
  test/Isl/CodeGen/phi_scalar_simple_1.ll
  test/Isl/CodeGen/phi_scalar_simple_2.ll
  test/Isl/CodeGen/phi_with_multi_exiting_edges_2.ll
  test/Isl/CodeGen/phi_with_one_exit_edge.ll
  test/Isl/CodeGen/pointer-type-expressions-2.ll
  test/Isl/CodeGen/pointer-type-expressions.ll
  test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll
  test/Isl/CodeGen/pointer_rem.ll
  test/Isl/CodeGen/pr25241.ll
  test/Isl/CodeGen/ptrtoint_as_parameter.ll
  test/Isl/CodeGen/read-only-scalars.ll
  test/Isl/CodeGen/reduction.ll
  test/Isl/CodeGen/reduction_2.ll
  test/Isl/CodeGen/reduction_simple_binary.ll
  test/Isl/CodeGen/region_exiting-domtree.ll
  test/Isl/CodeGen/run-time-condition-with-scev-parameters.ll
  test/Isl/CodeGen/run-time-condition.ll
  test/Isl/CodeGen/scalar-references-used-in-scop-compute.ll
  test/Isl/CodeGen/scalar-store-from-same-bb.ll
  test/Isl/CodeGen/scalar_codegen_crash.ll
  test/Isl/CodeGen/scev-division-invariant-load.ll
  test/Isl/CodeGen/scev.ll
  test/Isl/CodeGen/scev_expansion_in_nonaffine.ll
  test/Isl/CodeGen/scop_expander_insert_point.ll
  test/Isl/CodeGen/scop_expander_segfault.ll
  test/Isl/CodeGen/scop_never_executed_runtime_check_location.ll
  test/Isl/CodeGen/select-base-pointer.ll
  test/Isl/CodeGen/sequential_loops.ll
  test/Isl/CodeGen/simple_loop_non_single_exit.ll
  test/Isl/CodeGen/simple_loop_non_single_exit_2.ll
  test/Isl/CodeGen/simple_non_single_entry.ll
  test/Isl/CodeGen/simple_nonaffine_loop.ll
  test/Isl/CodeGen/simple_vec_assign_scalar.ll
  test/Isl/CodeGen/simple_vec_assign_scalar_2.ll
  test/Isl/CodeGen/simple_vec_call.ll
  test/Isl/CodeGen/simple_vec_call_2.ll
  test/Isl/CodeGen/simple_vec_cast.ll
  test/Isl/CodeGen/simple_vec_const.ll
  test/Isl/CodeGen/simple_vec_large_width.ll
  test/Isl/CodeGen/simple_vec_ptr_ptr_ty.ll
  test/Isl/CodeGen/simple_vec_stride_negative_one.ll
  test/Isl/CodeGen/simple_vec_stride_one.ll
  test/Isl/CodeGen/simple_vec_stride_x.ll
  test/Isl/CodeGen/simple_vec_two_stmts.ll
  test/Isl/CodeGen/single_do_loop_int_max_iterations.ll
  test/Isl/CodeGen/single_do_loop_int_param_iterations.ll
  test/Isl/CodeGen/single_do_loop_ll_max_iterations.ll
  test/Isl/CodeGen/single_do_loop_one_iteration.ll
  test/Isl/CodeGen/single_do_loop_scev_replace.ll
  test/Isl/CodeGen/single_loop.ll
  test/Isl/CodeGen/single_loop_int_max_iterations.ll
  test/Isl/CodeGen/single_loop_ll_max_iterations.ll
  test/Isl/CodeGen/single_loop_one_iteration.ll
  test/Isl/CodeGen/single_loop_param.ll
  test/Isl/CodeGen/single_loop_zero_iterations.ll
  test/Isl/CodeGen/split_edge_of_exit.ll
  test/Isl/CodeGen/split_edges.ll
  test/Isl/CodeGen/split_edges_2.ll
  test/Isl/CodeGen/srem-in-other-bb.ll
  test/Isl/CodeGen/stack-overflow-in-load-hoisting.ll
  test/Isl/CodeGen/switch-in-non-affine-region.ll
  test/Isl/CodeGen/synthesizable_phi_write_after_loop.ll
  test/Isl/CodeGen/test-invalid-operands-for-select-2.ll
  test/Isl/CodeGen/test-invalid-operands-for-select.ll
  test/Isl/CodeGen/test.ll
  test/Isl/CodeGen/two-loops-right-after-each-other-2.ll
  test/Isl/CodeGen/two-scops-in-row-invalidate-scevs.ll
  test/Isl/CodeGen/two-scops-in-row.ll
  (431 more files...)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45493.141861.patch
Type: text/x-patch
Size: 430506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180410/e9fd2d17/attachment-0001.bin>


More information about the llvm-commits mailing list