From bad3ff207f68e69f36b9a1f90a29f22341e505bb Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 27 Feb 2015 19:20:19 +0000 Subject: [PATCH] Update Polly tests to handle explicitly typed gep changes in LLVM llvm-svn: 230784 --- polly/test/CodePreparation/if_condition.ll | 2 +- .../multiple_loops_trivial_phis.ll | 2 +- .../single_loop_trivial_phi.ll | 2 +- .../DeadCodeElimination/chained_iterations.ll | 6 +-- .../chained_iterations_2.ll | 10 ++--- polly/test/DeadCodeElimination/computeout.ll | 6 +-- .../dead_iteration_elimination.ll | 8 ++-- .../non-affine-affine-mix.ll | 4 +- polly/test/DeadCodeElimination/non-affine.ll | 2 +- .../test/DeadCodeElimination/null_schedule.ll | 10 ++--- polly/test/Dependences/computeout.ll | 6 +-- polly/test/Dependences/do_pluto_matmult.ll | 6 +-- .../Dependences/reduction_complex_location.ll | 2 +- ...ndences_equal_non_reduction_dependences.ll | 10 ++--- ...reduction_and_non_reduction_dependences.ll | 4 +- .../reduction_multiple_loops_array_sum.ll | 2 +- .../reduction_multiple_loops_array_sum_2.ll | 2 +- .../reduction_multiple_loops_array_sum_3.ll | 2 +- .../reduction_only_reduction_like_access.ll | 4 +- ...lly_escaping_intermediate_in_other_stmt.ll | 6 +-- .../reduction_privatization_deps.ll | 8 ++-- .../reduction_privatization_deps_2.ll | 6 +-- .../reduction_privatization_deps_3.ll | 6 +-- .../reduction_privatization_deps_4.ll | 6 +-- .../reduction_privatization_deps_5.ll | 4 +- ...duction_two_reductions_different_rloops.ll | 8 ++-- polly/test/Dependences/sequential_loops.ll | 28 ++++++------- .../IndependentBlocks/inter_bb_scalar_dep.ll | 2 +- .../intra_and_inter_bb_scalar_dep.ll | 2 +- .../IndependentBlocks/intra_bb_scalar_dep.ll | 2 +- .../test/IndependentBlocks/scalar_to_array.ll | 20 +++++----- .../OpenMP/multiple_loops_outer_parallel.ll | 6 +-- .../Ast/OpenMP/nested_loop_both_parallel.ll | 2 +- .../nested_loop_both_parallel_parametric.ll | 2 +- .../Ast/OpenMP/nested_loop_inner_parallel.ll | 2 +- .../Ast/OpenMP/nested_loop_outer_parallel.ll | 2 +- .../OpenMP/single_loop_param_non_parallel.ll | 2 +- .../Ast/OpenMP/single_loop_param_parallel.ll | 2 +- .../single_loop_param_parallel_computeout.ll | 2 +- polly/test/Isl/Ast/alias_simple_1.ll | 4 +- polly/test/Isl/Ast/alias_simple_2.ll | 4 +- polly/test/Isl/Ast/alias_simple_3.ll | 4 +- .../Isl/Ast/aliasing_multiple_alias_groups.ll | 8 ++-- .../Isl/Ast/aliasing_parametric_simple_1.ll | 4 +- .../Isl/Ast/aliasing_parametric_simple_2.ll | 6 +-- .../Isl/Ast/dependence_distance_constant.ll | 4 +- .../dependence_distance_multiple_constant.ll | 8 ++-- .../Isl/Ast/dependence_distance_parametric.ll | 4 +- .../dependence_distance_parametric_expr.ll | 4 +- .../Isl/Ast/dependence_distance_varying.ll | 4 +- ...pendence_distance_varying_in_outer_loop.ll | 4 +- .../dependence_distance_varying_multiple.ll | 20 +++++----- ...duction_clauses_multidimensional_access.ll | 2 +- ...reduction_clauses_onedimensional_access.ll | 2 +- ...ndences_equal_non_reduction_dependences.ll | 10 ++--- .../Isl/Ast/reduction_in_one_dimension.ll | 2 +- polly/test/Isl/Ast/reduction_loop_reversal.ll | 2 +- ...ction_modulo_and_loop_reversal_schedule.ll | 2 +- ...ion_modulo_and_loop_reversal_schedule_2.ll | 2 +- .../test/Isl/Ast/reduction_modulo_schedule.ll | 2 +- ...ion_modulo_schedule_multiple_dimensions.ll | 2 +- ...n_modulo_schedule_multiple_dimensions_2.ll | 2 +- ...n_modulo_schedule_multiple_dimensions_3.ll | 2 +- ...n_modulo_schedule_multiple_dimensions_4.ll | 2 +- ...n_modulo_schedule_multiple_dimensions_5.ll | 2 +- .../Isl/Ast/reduction_multiple_dimensions.ll | 2 +- .../Ast/reduction_multiple_dimensions_2.ll | 2 +- .../Ast/reduction_multiple_dimensions_3.ll | 2 +- .../Ast/reduction_multiple_dimensions_4.ll | 2 +- polly/test/Isl/Ast/run-time-condition.ll | 4 +- .../test/Isl/Ast/simple-run-time-condition.ll | 4 +- polly/test/Isl/Ast/single_loop_strip_mine.ll | 4 +- polly/test/Isl/CodeGen/20100707_2.ll | 40 +++++++++---------- polly/test/Isl/CodeGen/20100713_2.ll | 2 +- polly/test/Isl/CodeGen/20100717.ll | 8 ++-- .../CodeGen/20100720-MultipleConditions.ll | 4 +- .../Isl/CodeGen/20100809-IndependentBlock.ll | 4 +- polly/test/Isl/CodeGen/20101103-Overflow3.ll | 2 +- .../CodeGen/20130211-getNumberOfIterations.ll | 2 +- .../do_not_mutate_debug_info.ll | 2 +- .../loop_nest_param_parallel.ll | 2 +- .../single_loop_param_parallel.ll | 6 +-- .../Isl/CodeGen/MemAccess/bad_alignment.ll | 2 +- .../MemAccess/codegen_constant_offset.ll | 4 +- .../Isl/CodeGen/MemAccess/codegen_simple.ll | 4 +- .../CodeGen/MemAccess/codegen_simple_float.ll | 4 +- .../CodeGen/MemAccess/codegen_simple_md.ll | 6 +-- .../MemAccess/codegen_simple_md_float.ll | 6 +-- .../default_aligned_new_access_function.ll | 4 +- polly/test/Isl/CodeGen/MemAccess/simple.ll | 4 +- .../Isl/CodeGen/MemAccess/simple_analyze.ll | 4 +- .../CodeGen/MemAccess/simple_stride_test.ll | 8 ++-- .../OpenMP/loop-body-references-outer-iv.ll | 2 +- .../loop-body-references-outer-values-2.ll | 4 +- .../loop-body-references-outer-values-3.ll | 8 ++-- .../loop-body-references-outer-values.ll | 4 +- .../OpenMP/loop-bounds-reference-outer-ids.ll | 10 ++--- .../Isl/CodeGen/OpenMP/reference-other-bb.ll | 2 +- .../OpenMP/reference-preceeding-loop.ll | 2 +- polly/test/Isl/CodeGen/OpenMP/single_loop.ll | 4 +- ...single_loop_with_loop_invariant_baseptr.ll | 2 +- ...o-parallel-loops-reference-outer-indvar.ll | 2 +- ...aliasing_different_base_and_access_type.ll | 8 ++-- .../aliasing_different_pointer_types.ll | 12 +++--- .../aliasing_multidimensional_access.ll | 6 +-- .../CodeGen/aliasing_parametric_simple_1.ll | 12 +++--- .../CodeGen/aliasing_parametric_simple_2.ll | 14 +++---- .../Isl/CodeGen/aliasing_struct_element.ll | 6 +-- polly/test/Isl/CodeGen/alignment.ll | 2 +- .../Isl/CodeGen/annotated_alias_scopes.ll | 6 +-- .../test/Isl/CodeGen/blas_sscal_simplified.ll | 2 +- polly/test/Isl/CodeGen/debug-intrinsics.ll | 2 +- polly/test/Isl/CodeGen/intrinsics_lifetime.ll | 8 ++-- polly/test/Isl/CodeGen/intrinsics_misc.ll | 8 ++-- polly/test/Isl/CodeGen/loop_with_condition.ll | 8 ++-- .../test/Isl/CodeGen/loop_with_condition_2.ll | 8 ++-- .../Isl/CodeGen/loop_with_condition_ineq.ll | 8 ++-- .../Isl/CodeGen/loop_with_condition_nested.ll | 8 ++-- ...onditional_entry_edge_splited_hard_case.ll | 2 +- ..._2d_parametric_array_static_loop_bounds.ll | 2 +- .../test/Isl/CodeGen/multidim_alias_check.ll | 8 ++-- polly/test/Isl/CodeGen/no_guard_bb.ll | 2 +- .../Isl/CodeGen/non_affine_float_compare.ll | 16 ++++---- .../test/Isl/CodeGen/openmp_limit_threads.ll | 2 +- .../Isl/CodeGen/pointer-type-expressions-2.ll | 2 +- .../Isl/CodeGen/pointer-type-expressions.ll | 2 +- .../pointer-type-pointer-type-comparison.ll | 6 +-- polly/test/Isl/CodeGen/reduction.ll | 16 ++++---- polly/test/Isl/CodeGen/reduction_2.ll | 28 ++++++------- ...run-time-condition-with-scev-parameters.ll | 2 +- polly/test/Isl/CodeGen/run-time-condition.ll | 4 +- .../scalar-references-used-in-scop-compute.ll | 4 +- ...p_never_executed_runtime_check_location.ll | 2 +- polly/test/Isl/CodeGen/sequential_loops.ll | 6 +-- .../CodeGen/simple_loop_non_single_exit.ll | 2 +- .../CodeGen/simple_loop_non_single_exit_2.ll | 2 +- .../Isl/CodeGen/simple_non_single_entry.ll | 2 +- .../test/Isl/CodeGen/simple_nonaffine_loop.ll | 4 +- .../Isl/CodeGen/simple_vec_assign_scalar.ll | 4 +- .../Isl/CodeGen/simple_vec_assign_scalar_2.ll | 4 +- polly/test/Isl/CodeGen/simple_vec_call.ll | 2 +- polly/test/Isl/CodeGen/simple_vec_call_2.ll | 2 +- polly/test/Isl/CodeGen/simple_vec_cast.ll | 2 +- polly/test/Isl/CodeGen/simple_vec_const.ll | 2 +- .../Isl/CodeGen/simple_vec_large_width.ll | 4 +- .../test/Isl/CodeGen/simple_vec_ptr_ptr_ty.ll | 2 +- .../CodeGen/simple_vec_stride_negative_one.ll | 2 +- polly/test/Isl/CodeGen/simple_vec_stride_x.ll | 4 +- .../test/Isl/CodeGen/simple_vec_two_stmts.ll | 6 +-- .../CodeGen/single_do_loop_one_iteration.ll | 12 +++--- .../CodeGen/single_do_loop_scev_replace.ll | 2 +- polly/test/Isl/CodeGen/single_loop.ll | 6 +-- .../CodeGen/single_loop_int_max_iterations.ll | 12 +++--- .../CodeGen/single_loop_ll_max_iterations.ll | 12 +++--- .../Isl/CodeGen/single_loop_one_iteration.ll | 10 ++--- polly/test/Isl/CodeGen/single_loop_param.ll | 4 +- .../CodeGen/single_loop_zero_iterations.ll | 10 ++--- .../test-invalid-operands-for-select-2.ll | 10 ++--- .../test-invalid-operands-for-select.ll | 30 +++++++------- polly/test/Isl/CodeGen/test.ll | 4 +- polly/test/Isl/CodeGen/two-scops-in-row.ll | 2 +- .../test/Isl/single_loop_param_less_equal.ll | 4 +- polly/test/Isl/single_loop_param_less_than.ll | 4 +- .../Isl/single_loop_uint_max_iterations.ll | 12 +++--- .../Isl/single_loop_ull_max_iterations.ll | 12 +++--- ...2012-04-16-Trivially-vectorizable-loops.ll | 32 +++++++-------- .../2012-10-14-Zero-Bands.ll | 2 +- polly/test/ScheduleOptimizer/computeout.ll | 6 +-- polly/test/ScheduleOptimizer/line-tiling-2.ll | 2 +- polly/test/ScheduleOptimizer/line-tiling.ll | 2 +- .../ScheduleOptimizer/prevectorization.ll | 6 +-- .../ScheduleOptimizer/rectangular-tiling.ll | 2 +- .../aliasing_parametric_simple_1.ll | 4 +- .../aliasing_parametric_simple_2.ll | 6 +-- polly/test/ScopDetect/aliasing_simple_1.ll | 2 +- polly/test/ScopDetect/aliasing_simple_2.ll | 4 +- polly/test/ScopDetect/base_pointer.ll | 22 +++++----- .../ScopDetect/cross_loop_non_single_exit.ll | 4 +- .../cross_loop_non_single_exit_2.ll | 4 +- ...ependency_to_phi_node_outside_of_region.ll | 4 +- polly/test/ScopDetect/indvars.ll | 2 +- polly/test/ScopDetect/intrinsics_1.ll | 4 +- polly/test/ScopDetect/intrinsics_2.ll | 8 ++-- polly/test/ScopDetect/intrinsics_3.ll | 8 ++-- .../ScopDetect/invalidate_scalar_evolution.ll | 2 +- polly/test/ScopDetect/keep_going_expansion.ll | 8 ++-- ..._two_accesses_different_delinearization.ll | 4 +- .../ScopDetect/nested_loop_single_exit.ll | 2 +- .../test/ScopDetect/non-affine-conditional.ll | 4 +- .../ScopDetect/non-affine-float-compare.ll | 6 +-- .../ScopDetect/parametric-multiply-in-scev.ll | 2 +- polly/test/ScopDetect/remove_all_children.ll | 4 +- polly/test/ScopDetect/report-scop-location.ll | 4 +- polly/test/ScopDetect/run_time_alias_check.ll | 2 +- polly/test/ScopDetect/sequential_loops.ll | 8 ++-- polly/test/ScopDetect/simple_loop.ll | 2 +- .../simple_loop_non_single_entry.ll | 2 +- .../ScopDetect/simple_loop_non_single_exit.ll | 2 +- .../simple_loop_non_single_exit_2.ll | 2 +- .../ScopDetect/simple_loop_two_phi_nodes.ll | 2 +- .../test/ScopDetect/simple_loop_with_param.ll | 2 +- .../ScopDetect/simple_loop_with_param_2.ll | 2 +- .../ScopDetect/simple_non_single_entry.ll | 2 +- .../ScopDetect/skip_function_attribute.ll | 4 +- .../ReportAlias-01.ll | 4 +- .../ReportDifferentElementSize.ll | 4 +- .../ReportFuncCall-01.ll | 2 +- .../ReportLoopBound-01.ll | 4 +- .../ReportMultipleNonAffineAccesses.ll | 16 ++++---- .../ReportNonAffineAccess-01.ll | 2 +- .../ReportUnprofitable.ll | 4 +- .../ReportVariantBasePtr-01.ll | 10 ++--- .../20111108-Parameter-not-detected.ll | 2 +- ...03-16-Crash-because-of-unsigned-in-scev.ll | 2 +- polly/test/ScopInfo/Alias-0.ll | 6 +-- polly/test/ScopInfo/Alias-1.ll | 8 ++-- polly/test/ScopInfo/Alias-2.ll | 12 +++--- polly/test/ScopInfo/Alias-3.ll | 4 +- polly/test/ScopInfo/Alias-4.ll | 4 +- .../NonAffine/non_affine_access_with_range.ll | 2 +- .../non_affine_access_with_range_2.ll | 2 +- .../ScopInfo/NonAffine/non_affine_but_sdiv.ll | 6 +-- .../non_affine_conditional_nested.ll | 8 ++-- .../NonAffine/non_affine_float_compare.ll | 6 +-- .../aliasing_conditional_alias_groups_1.ll | 8 ++-- .../aliasing_conditional_alias_groups_2.ll | 8 ++-- polly/test/ScopInfo/aliasing_dead_access.ll | 4 +- ...iasing_many_parameters_not_all_involved.ll | 32 +++++++-------- .../aliasing_multiple_alias_groups.ll | 8 ++-- polly/test/ScopInfo/assume_gep_bounds.ll | 2 +- polly/test/ScopInfo/assume_gep_bounds_2.ll | 4 +- polly/test/ScopInfo/bug_2011_1_5.ll | 2 +- .../test/ScopInfo/bug_scev_not_fully_eval.ll | 2 +- polly/test/ScopInfo/cond_constant_in_loop.ll | 4 +- polly/test/ScopInfo/cond_in_loop.ll | 4 +- polly/test/ScopInfo/constant_start_integer.ll | 4 +- .../delinearize-together-all-data-refs.ll | 4 +- ...dependent-blocks-never-stop-on-big-scop.ll | 4 +- polly/test/ScopInfo/integers.ll | 12 +++--- polly/test/ScopInfo/isl_aff_out_of_bounds.ll | 2 +- polly/test/ScopInfo/loop_affine_bound_0.ll | 2 +- polly/test/ScopInfo/loop_affine_bound_1.ll | 2 +- polly/test/ScopInfo/loop_affine_bound_2.ll | 2 +- polly/test/ScopInfo/loop_carry.ll | 6 +-- polly/test/ScopInfo/max-loop-depth.ll | 4 +- polly/test/ScopInfo/multi-scop.ll | 2 +- .../ScopInfo/multidim_2d-diagonal-matrix.ll | 2 +- .../multidim_2d_outer_parametric_offset.ll | 2 +- ..._2d_parametric_array_static_loop_bounds.ll | 2 +- ..._3d_parametric_array_static_loop_bounds.ll | 2 +- .../multidim_ivs_and_integer_offsets_3d.ll | 2 +- ...multidim_ivs_and_parameteric_offsets_3d.ll | 2 +- .../ScopInfo/multidim_nested_start_integer.ll | 2 +- .../multidim_nested_start_share_parameter.ll | 4 +- polly/test/ScopInfo/multidim_only_ivs_2d.ll | 2 +- polly/test/ScopInfo/multidim_only_ivs_3d.ll | 2 +- .../ScopInfo/multidim_only_ivs_3d_cast.ll | 2 +- .../ScopInfo/multidim_only_ivs_3d_reverse.ll | 2 +- .../multidim_single_and_multidim_array.ll | 4 +- polly/test/ScopInfo/non_affine_access.ll | 2 +- .../ScopInfo/non_affine_parametric_loop.ll | 4 +- polly/test/ScopInfo/parameter_product.ll | 2 +- .../test/ScopInfo/phi_condition_modeling_1.ll | 2 +- .../test/ScopInfo/phi_condition_modeling_2.ll | 2 +- .../test/ScopInfo/phi_conditional_simple_1.ll | 2 +- polly/test/ScopInfo/phi_loop_carried_float.ll | 2 +- polly/test/ScopInfo/phi_scalar_simple_1.ll | 2 +- polly/test/ScopInfo/phi_scalar_simple_2.ll | 4 +- .../test/ScopInfo/pointer-type-expressions.ll | 2 +- polly/test/ScopInfo/ranged_parameter.ll | 2 +- polly/test/ScopInfo/ranged_parameter_wrap.ll | 2 +- .../ScopInfo/reduction_alternating_base.ll | 2 +- .../reduction_escaping_intermediate.ll | 4 +- .../reduction_escaping_intermediate_2.ll | 8 ++-- .../reduction_invalid_overlapping_accesses.ll | 4 +- .../reduction_multiple_loops_array_sum.ll | 2 +- .../reduction_multiple_loops_array_sum_1.ll | 2 +- .../reduction_multiple_simple_binary.ll | 12 +++--- .../reduction_non_overlapping_chains.ll | 4 +- .../reduction_only_reduction_like_access.ll | 4 +- .../ScopInfo/reduction_two_identical_reads.ll | 10 ++--- .../run-time-check-many-parameters.ll | 26 ++++++------ .../run-time-check-read-only-arrays.ll | 6 +-- polly/test/ScopInfo/scalar.ll | 4 +- .../ScopInfo/scalar_dependence_cond_br.ll | 2 +- polly/test/ScopInfo/simple_loop_1.ll | 2 +- .../ScopInfo/simple_nonaffine_loop_not.ll | 4 +- polly/test/ScopInfo/smax.ll | 2 +- polly/test/ScopInfo/unsigned-condition.ll | 2 +- polly/test/TempScop/inter_bb_scalar_dep.ll | 2 +- .../TempScop/intra_and_inter_bb_scalar_dep.ll | 2 +- polly/test/TempScop/intra_bb_scalar_dep.ll | 2 +- polly/test/TempScop/nested-loops.ll | 2 +- polly/test/TempScop/not-a-reduction.ll | 6 +-- polly/test/TempScop/scalar_to_array.ll | 10 ++--- polly/test/TempScop/tempscop-printing.ll | 4 +- 296 files changed, 758 insertions(+), 758 deletions(-) diff --git a/polly/test/CodePreparation/if_condition.ll b/polly/test/CodePreparation/if_condition.ll index 19d5c97f9d2d..5bb25fc10e85 100644 --- a/polly/test/CodePreparation/if_condition.ll +++ b/polly/test/CodePreparation/if_condition.ll @@ -20,7 +20,7 @@ entry: for.i: %indvar = phi i64 [ 0, %entry ], [ %indvar.next, %merge ] - %scevgep = getelementptr i64* %A, i64 %indvar + %scevgep = getelementptr i64, i64* %A, i64 %indvar %cmp = icmp eq i64 %indvar, 3 br i1 %cmp, label %then, label %else diff --git a/polly/test/CodePreparation/multiple_loops_trivial_phis.ll b/polly/test/CodePreparation/multiple_loops_trivial_phis.ll index 115c76f9e807..ae42e07492d8 100644 --- a/polly/test/CodePreparation/multiple_loops_trivial_phis.ll +++ b/polly/test/CodePreparation/multiple_loops_trivial_phis.ll @@ -30,7 +30,7 @@ for.inc: ; preds = %for.body, %for.inc %sum.12 = phi i32 [ %mul, %for.body ], [ %add4, %for.inc ] %indvars.iv1 = phi i64 [ 0, %for.body ], [ %1, %for.inc ] %0 = add i64 %indvars.iv23, %indvars.iv1 - %arrayidx = getelementptr i32* %A, i64 %0 + %arrayidx = getelementptr i32, i32* %A, i64 %0 %tmp5 = load i32* %arrayidx, align 4 %add4 = add nsw i32 %tmp5, %sum.12 %1 = add nuw nsw i64 %indvars.iv1, 1 diff --git a/polly/test/CodePreparation/single_loop_trivial_phi.ll b/polly/test/CodePreparation/single_loop_trivial_phi.ll index 3c1e822af46e..d2473216f62c 100644 --- a/polly/test/CodePreparation/single_loop_trivial_phi.ll +++ b/polly/test/CodePreparation/single_loop_trivial_phi.ll @@ -24,7 +24,7 @@ for.inc.lr.ph: ; preds = %entry for.inc: ; preds = %for.inc.lr.ph, %for.inc %sum.03 = phi i32 [ 0, %for.inc.lr.ph ], [ %add, %for.inc ] %indvars.iv2 = phi i64 [ 0, %for.inc.lr.ph ], [ %indvars.iv.next, %for.inc ] - %arrayidx = getelementptr i32* %A, i64 %indvars.iv2 + %arrayidx = getelementptr i32, i32* %A, i64 %indvars.iv2 %tmp1 = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp1, %sum.03 %indvars.iv.next = add nuw nsw i64 %indvars.iv2, 1 diff --git a/polly/test/DeadCodeElimination/chained_iterations.ll b/polly/test/DeadCodeElimination/chained_iterations.ll index 671950e7de99..73c43c189ecb 100644 --- a/polly/test/DeadCodeElimination/chained_iterations.ll +++ b/polly/test/DeadCodeElimination/chained_iterations.ll @@ -18,7 +18,7 @@ entry: for.body.1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %for.body.1 ] - %arrayidx.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 + %arrayidx.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 store i32 2, i32* %arrayidx.1, align 4 %indvar.next.1 = add i64 %indvar.1, 1 %exitcond.1 = icmp ne i64 %indvar.next.1, 200 @@ -29,7 +29,7 @@ exit.1: for.body.2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %for.body.2 ] - %arrayidx.2 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.2 + %arrayidx.2 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.2 store i32 5, i32* %arrayidx.2, align 4 %indvar.next.2 = add i64 %indvar.2, 1 %exitcond.2 = icmp ne i64 %indvar.next.2, 200 @@ -40,7 +40,7 @@ exit.2: for.body.3: %indvar.3 = phi i64 [ 0, %exit.2 ], [ %indvar.next.3, %for.body.3 ] - %arrayidx.3 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.3 + %arrayidx.3 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.3 store i32 7, i32* %arrayidx.3, align 4 %indvar.next.3 = add i64 %indvar.3, 1 %exitcond.3 = icmp ne i64 %indvar.next.3, 200 diff --git a/polly/test/DeadCodeElimination/chained_iterations_2.ll b/polly/test/DeadCodeElimination/chained_iterations_2.ll index 6b780ce8c137..e618854283c8 100644 --- a/polly/test/DeadCodeElimination/chained_iterations_2.ll +++ b/polly/test/DeadCodeElimination/chained_iterations_2.ll @@ -19,7 +19,7 @@ entry: for.body.1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %for.body.1 ] - %arrayidx.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 + %arrayidx.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 store i32 2, i32* %arrayidx.1, align 4 %indvar.next.1 = add i64 %indvar.1, 1 %exitcond.1 = icmp ne i64 %indvar.next.1, 200 @@ -30,9 +30,9 @@ exit.1: for.body.2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %for.body.2 ] - %arrayidx.2.a = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.2 + %arrayidx.2.a = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.2 %val = load i32* %arrayidx.2.a, align 4 - %arrayidx.2.b = getelementptr [200 x i32]* %B, i64 0, i64 %indvar.2 + %arrayidx.2.b = getelementptr [200 x i32], [200 x i32]* %B, i64 0, i64 %indvar.2 store i32 %val, i32* %arrayidx.2.b, align 4 %indvar.next.2 = add i64 %indvar.2, 1 %exitcond.2 = icmp ne i64 %indvar.next.2, 200 @@ -43,8 +43,8 @@ exit.2: for.body.3: %indvar.3 = phi i64 [ 0, %exit.2 ], [ %indvar.next.3, %for.body.3 ] - %arrayidx.3.a = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.3 - %arrayidx.3.b = getelementptr [200 x i32]* %B, i64 0, i64 %indvar.3 + %arrayidx.3.a = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.3 + %arrayidx.3.b = getelementptr [200 x i32], [200 x i32]* %B, i64 0, i64 %indvar.3 store i32 5, i32* %arrayidx.3.a, align 4 store i32 5, i32* %arrayidx.3.b, align 4 %indvar.next.3 = add i64 %indvar.3, 1 diff --git a/polly/test/DeadCodeElimination/computeout.ll b/polly/test/DeadCodeElimination/computeout.ll index fca5d0c9d2ed..38c3e2d5f330 100644 --- a/polly/test/DeadCodeElimination/computeout.ll +++ b/polly/test/DeadCodeElimination/computeout.ll @@ -19,7 +19,7 @@ entry: S1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %S1 ] - %arrayidx.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 + %arrayidx.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 store i32 2, i32* %arrayidx.1 %indvar.next.1 = add i64 %indvar.1, 1 %exitcond.1 = icmp ne i64 %indvar.next.1, 100 @@ -30,7 +30,7 @@ exit.1: S2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %S2 ] - %arrayidx.2 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.2 + %arrayidx.2 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.2 store i32 5, i32* %arrayidx.2 %indvar.next.2 = add i64 %indvar.2, 1 %exitcond.2 = icmp ne i64 %indvar.next.2, 10 @@ -41,7 +41,7 @@ exit.2: S3: %indvar.3 = phi i64 [ 0, %exit.2 ], [ %indvar.next.3, %S3 ] - %arrayidx.3 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.3 + %arrayidx.3 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.3 store i32 7, i32* %arrayidx.3 %indvar.next.3 = add i64 %indvar.3, 1 %exitcond.3 = icmp ne i64 %indvar.next.3, 200 diff --git a/polly/test/DeadCodeElimination/dead_iteration_elimination.ll b/polly/test/DeadCodeElimination/dead_iteration_elimination.ll index e0118ea60205..d1a2373c9a48 100644 --- a/polly/test/DeadCodeElimination/dead_iteration_elimination.ll +++ b/polly/test/DeadCodeElimination/dead_iteration_elimination.ll @@ -21,7 +21,7 @@ entry: for.body.1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %for.body.1 ] - %arrayidx.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 + %arrayidx.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 store i32 2, i32* %arrayidx.1, align 4 %indvar.next.1 = add i64 %indvar.1, 1 %exitcond.1 = icmp ne i64 %indvar.next.1, 200 @@ -32,7 +32,7 @@ exit.1: for.body.2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %for.body.2 ] - %arrayidx.2 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.2 + %arrayidx.2 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.2 store i32 5, i32* %arrayidx.2, align 4 %indvar.next.2 = add i64 %indvar.2, 1 %exitcond.2 = icmp ne i64 %indvar.next.2, 50 @@ -43,7 +43,7 @@ exit.2: for.body.3: %indvar.3 = phi i64 [ 0, %exit.2 ], [ %indvar.next.3, %for.body.3 ] - %arrayidx.3 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.3 + %arrayidx.3 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.3 %val = load i32* %arrayidx.3, align 4 %add = add nsw i32 %val, 5 store i32 %add, i32* %arrayidx.3, align 4 @@ -58,7 +58,7 @@ for.body.4: %indvar.4 = phi i64 [ 0, %exit.3 ], [ %indvar.next.4, %for.body.4 ] %indvar.plus = add i64 %indvar.4, 100 %trunc = trunc i64 %indvar.plus to i32 - %arrayidx.4 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.plus + %arrayidx.4 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.plus store i32 %trunc, i32* %arrayidx.4, align 4 %indvar.next.4 = add i64 %indvar.4, 1 %exitcond.4 = icmp ne i64 %indvar.next.4, 10 diff --git a/polly/test/DeadCodeElimination/non-affine-affine-mix.ll b/polly/test/DeadCodeElimination/non-affine-affine-mix.ll index bf0385cab936..1b3f38bcf41a 100644 --- a/polly/test/DeadCodeElimination/non-affine-affine-mix.ll +++ b/polly/test/DeadCodeElimination/non-affine-affine-mix.ll @@ -29,7 +29,7 @@ for.cond: S1: %rem = srem i32 %i.0, 2 - %arrayidx = getelementptr inbounds i32* %A, i32 %rem + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %rem store i32 %i.0, i32* %arrayidx, align 4 br label %for.inc @@ -46,7 +46,7 @@ for.cond.2: br i1 %exitcond.2, label %S2, label %for.end S2: - %arrayidx.2 = getelementptr inbounds i32* %A, i32 %i.2 + %arrayidx.2 = getelementptr inbounds i32, i32* %A, i32 %i.2 store i32 %i.2, i32* %arrayidx.2, align 4 br label %for.inc.2 diff --git a/polly/test/DeadCodeElimination/non-affine.ll b/polly/test/DeadCodeElimination/non-affine.ll index ec44070a4429..33b7ccc9550a 100644 --- a/polly/test/DeadCodeElimination/non-affine.ll +++ b/polly/test/DeadCodeElimination/non-affine.ll @@ -20,7 +20,7 @@ for.cond: ; preds = %for.inc, %entry for.body: ; preds = %for.cond %rem = srem i32 %i.0, 2 - %arrayidx = getelementptr inbounds i32* %A, i32 %rem + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %rem store i32 %i.0, i32* %arrayidx, align 4 br label %for.inc diff --git a/polly/test/DeadCodeElimination/null_schedule.ll b/polly/test/DeadCodeElimination/null_schedule.ll index a71d3ca2df3a..2e5b4e89a69e 100644 --- a/polly/test/DeadCodeElimination/null_schedule.ll +++ b/polly/test/DeadCodeElimination/null_schedule.ll @@ -15,7 +15,7 @@ entry: %A = alloca [200 x i32], align 16 %B = alloca [200 x i32], align 16 - %A.zero = getelementptr [200 x i32]* %A, i64 0, i64 0 + %A.zero = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 0 store i32 1, i32* %A.zero, align 4 br label %for.body.1 @@ -24,10 +24,10 @@ for.body.1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %for.body.1 ] %indvar.next.1 = add i64 %indvar.1, 1 - %A.current.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 + %A.current.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 %val1.1 = load i32* %A.current.1, align 4 %val2.1 = mul i32 %val1.1, 2 - %A.next.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.next.1 + %A.next.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.next.1 store i32 %val2.1, i32* %A.next.1, align 4 %exitcond.1 = icmp ne i64 %indvar.next.1, 100 @@ -39,10 +39,10 @@ exit.1: for.body.2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %for.body.2 ] - %B.current.2 = getelementptr [200 x i32]* %B, i64 0, i64 %indvar.2 + %B.current.2 = getelementptr [200 x i32], [200 x i32]* %B, i64 0, i64 %indvar.2 %val1.2 = load i32* %B.current.2, align 4 %val2.2 = mul i32 %val1.2, 2 - %A.current.2 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.2 + %A.current.2 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.2 store i32 %val2.2, i32* %A.current.2, align 4 %indvar.next.2 = add i64 %indvar.2, 1 diff --git a/polly/test/Dependences/computeout.ll b/polly/test/Dependences/computeout.ll index d879f926f69a..9529c46b0070 100644 --- a/polly/test/Dependences/computeout.ll +++ b/polly/test/Dependences/computeout.ll @@ -19,7 +19,7 @@ entry: S1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %S1 ] - %arrayidx.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 + %arrayidx.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 store i32 2, i32* %arrayidx.1 %indvar.next.1 = add i64 %indvar.1, 1 %exitcond.1 = icmp ne i64 %indvar.next.1, 100 @@ -30,7 +30,7 @@ exit.1: S2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %S2 ] - %arrayidx.2 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.2 + %arrayidx.2 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.2 store i32 5, i32* %arrayidx.2 %indvar.next.2 = add i64 %indvar.2, 1 %exitcond.2 = icmp ne i64 %indvar.next.2, 10 @@ -41,7 +41,7 @@ exit.2: S3: %indvar.3 = phi i64 [ 0, %exit.2 ], [ %indvar.next.3, %S3 ] - %arrayidx.3 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.3 + %arrayidx.3 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.3 store i32 7, i32* %arrayidx.3 %indvar.next.3 = add i64 %indvar.3, 1 %exitcond.3 = icmp ne i64 %indvar.next.3, 200 diff --git a/polly/test/Dependences/do_pluto_matmult.ll b/polly/test/Dependences/do_pluto_matmult.ll index bfad357f53f8..80de02d8c7e5 100644 --- a/polly/test/Dependences/do_pluto_matmult.ll +++ b/polly/test/Dependences/do_pluto_matmult.ll @@ -22,13 +22,13 @@ do.body: ; preds = %do.cond42, %entry do.body1: ; preds = %do.cond36, %do.body %indvar1 = phi i64 [ %indvar.next2, %do.cond36 ], [ 0, %do.body ] ; [#uses=3] - %arrayidx5 = getelementptr [36 x [49 x double]]* @C, i64 0, i64 %indvar3, i64 %indvar1 ; [#uses=2] + %arrayidx5 = getelementptr [36 x [49 x double]], [36 x [49 x double]]* @C, i64 0, i64 %indvar3, i64 %indvar1 ; [#uses=2] br label %do.body2 do.body2: ; preds = %do.cond, %do.body1 %indvar = phi i64 [ %indvar.next, %do.cond ], [ 0, %do.body1 ] ; [#uses=3] - %arrayidx13 = getelementptr [36 x [49 x double]]* @A, i64 0, i64 %indvar3, i64 %indvar ; [#uses=1] - %arrayidx22 = getelementptr [36 x [49 x double]]* @B, i64 0, i64 %indvar, i64 %indvar1 ; [#uses=1] + %arrayidx13 = getelementptr [36 x [49 x double]], [36 x [49 x double]]* @A, i64 0, i64 %indvar3, i64 %indvar ; [#uses=1] + %arrayidx22 = getelementptr [36 x [49 x double]], [36 x [49 x double]]* @B, i64 0, i64 %indvar, i64 %indvar1 ; [#uses=1] %tmp6 = load double* %arrayidx5 ; [#uses=1] %mul = fmul double 1.000000e+00, %tmp6 ; [#uses=1] %tmp14 = load double* %arrayidx13 ; [#uses=1] diff --git a/polly/test/Dependences/reduction_complex_location.ll b/polly/test/Dependences/reduction_complex_location.ll index 6d0554484a8a..4a0a5b55cdf2 100644 --- a/polly/test/Dependences/reduction_complex_location.ll +++ b/polly/test/Dependences/reduction_complex_location.ll @@ -37,7 +37,7 @@ for.body3: ; preds = %for.cond1 %mul = mul nsw i32 %j.0, %i.0 %mul4 = shl nsw i32 %j.0, 1 %add = add nsw i32 %i.0, %mul4 - %arrayidx = getelementptr inbounds i32* %sum, i32 %add + %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %add %tmp = load i32* %arrayidx, align 4 %add5 = add nsw i32 %tmp, %mul store i32 %add5, i32* %arrayidx, align 4 diff --git a/polly/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll b/polly/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll index c7e29dc47f0c..515136a174f5 100644 --- a/polly/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll +++ b/polly/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll @@ -33,20 +33,20 @@ for.cond: ; preds = %for.inc, %entry br i1 %exitcond, label %for.body, label %for.end for.body: ; preds = %for.cond - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %sub = add nsw i32 %i.0, -1 - %arrayidx1 = getelementptr inbounds i32* %A, i32 %sub + %arrayidx1 = getelementptr inbounds i32, i32* %A, i32 %sub %tmp1 = load i32* %arrayidx1, align 4 %add = add nsw i32 %tmp, %tmp1 - %arrayidx2 = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx2 = getelementptr inbounds i32, i32* %A, i32 %i.0 store i32 %add, i32* %arrayidx2, align 4 %sub4 = add nsw i32 %i.0, -2 - %arrayidx5 = getelementptr inbounds i32* %A, i32 %sub4 + %arrayidx5 = getelementptr inbounds i32, i32* %A, i32 %sub4 %tmp2 = load i32* %arrayidx5, align 4 %add6 = add nsw i32 %add, %tmp2 %sub7 = add nsw i32 %i.0, -1 - %arrayidx8 = getelementptr inbounds i32* %A, i32 %sub7 + %arrayidx8 = getelementptr inbounds i32, i32* %A, i32 %sub7 store i32 %add6, i32* %arrayidx8, align 4 %tmp3 = load i32* %sum, align 4 %add9 = add nsw i32 %tmp3, %i.0 diff --git a/polly/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll b/polly/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll index 9e3bd5925351..6be0392e8b8a 100644 --- a/polly/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll +++ b/polly/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll @@ -35,11 +35,11 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %sum, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 3 %add4 = add nsw i32 %i.0, %j.0 - %arrayidx5 = getelementptr inbounds i32* %sum, i32 %add4 + %arrayidx5 = getelementptr inbounds i32, i32* %sum, i32 %add4 store i32 %add, i32* %arrayidx5, align 4 br label %for.inc diff --git a/polly/test/Dependences/reduction_multiple_loops_array_sum.ll b/polly/test/Dependences/reduction_multiple_loops_array_sum.ll index 333035c572c5..1490d6540ee1 100644 --- a/polly/test/Dependences/reduction_multiple_loops_array_sum.ll +++ b/polly/test/Dependences/reduction_multiple_loops_array_sum.ll @@ -39,7 +39,7 @@ for.cond1: ; preds = %for.inc8, %for.body for.body3: ; preds = %for.cond1 %add = add nsw i32 %i.0, %j.0 - %arrayidx = getelementptr inbounds i32* %A, i32 %add + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %add %tmp3 = load i32* %arrayidx, align 4 %tmp4 = load i32* %sum, align 4 %add4 = add nsw i32 %tmp4, %tmp3 diff --git a/polly/test/Dependences/reduction_multiple_loops_array_sum_2.ll b/polly/test/Dependences/reduction_multiple_loops_array_sum_2.ll index 7e92a36ed743..473c8ddf325f 100644 --- a/polly/test/Dependences/reduction_multiple_loops_array_sum_2.ll +++ b/polly/test/Dependences/reduction_multiple_loops_array_sum_2.ll @@ -41,7 +41,7 @@ for.cond1: ; preds = %for.inc8, %for.body for.body3: ; preds = %for.cond1 %add = add nsw i32 %i.0, %j.0 - %arrayidx = getelementptr inbounds i32* %A, i32 %add + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %add %tmp3 = load i32* %arrayidx, align 4 %tmp4 = load i32* %sum, align 4 %add4 = add nsw i32 %tmp4, %tmp3 diff --git a/polly/test/Dependences/reduction_multiple_loops_array_sum_3.ll b/polly/test/Dependences/reduction_multiple_loops_array_sum_3.ll index f7d27a2db243..06cabe3ade90 100644 --- a/polly/test/Dependences/reduction_multiple_loops_array_sum_3.ll +++ b/polly/test/Dependences/reduction_multiple_loops_array_sum_3.ll @@ -49,7 +49,7 @@ for.inc: ; preds = %for.inc, %for.body %indvars.iv1 = phi i64 [ 0, %for.body ], [ %1, %for.inc ] %sum.12.reload = load i32* %sum.12.reg2mem %0 = add i64 %indvars.iv23, %indvars.iv1 - %arrayidx = getelementptr i32* %A, i64 %0 + %arrayidx = getelementptr i32, i32* %A, i64 %0 %tmp5 = load i32* %arrayidx, align 4 %add4 = add nsw i32 %tmp5, %sum.12.reload %1 = add nuw nsw i64 %indvars.iv1, 1 diff --git a/polly/test/Dependences/reduction_only_reduction_like_access.ll b/polly/test/Dependences/reduction_only_reduction_like_access.ll index ae78d7fb13a8..a177e32e574e 100644 --- a/polly/test/Dependences/reduction_only_reduction_like_access.ll +++ b/polly/test/Dependences/reduction_only_reduction_like_access.ll @@ -28,10 +28,10 @@ for.cond: ; preds = %for.inc, %entry for.body: ; preds = %for.cond %sub = sub nsw i32 99, %i.0 - %arrayidx = getelementptr inbounds i32* %sum, i32 %sub + %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %sub %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 - %arrayidx1 = getelementptr inbounds i32* %sum, i32 %i.0 + %arrayidx1 = getelementptr inbounds i32, i32* %sum, i32 %i.0 store i32 %add, i32* %arrayidx1, align 4 br label %for.inc diff --git a/polly/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll b/polly/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll index e69c70287202..fa01f9a78099 100644 --- a/polly/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll +++ b/polly/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll @@ -32,7 +32,7 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %sums, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %sums, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 5 store i32 %add, i32* %arrayidx, align 4 @@ -42,11 +42,11 @@ for.body3: ; preds = %for.cond1 br i1 %cmp5, label %if.then, label %if.end if.then: ; preds = %for.body3 - %arrayidx6 = getelementptr inbounds i32* %sums, i32 %i.0 + %arrayidx6 = getelementptr inbounds i32, i32* %sums, i32 %i.0 %tmp2 = load i32* %arrayidx6, align 4 %sub7 = sub nsw i32 %N, %i.0 %add8 = add nsw i32 %sub7, %j.0 - %arrayidx9 = getelementptr inbounds i32* %escape, i32 %add8 + %arrayidx9 = getelementptr inbounds i32, i32* %escape, i32 %add8 store i32 %tmp2, i32* %arrayidx9, align 4 br label %if.end diff --git a/polly/test/Dependences/reduction_privatization_deps.ll b/polly/test/Dependences/reduction_privatization_deps.ll index 1d1bb1e0aeae..8d75db9c3897 100644 --- a/polly/test/Dependences/reduction_privatization_deps.ll +++ b/polly/test/Dependences/reduction_privatization_deps.ll @@ -36,7 +36,7 @@ for.body: ; preds = %for.cond br label %S0 S0: ; preds = %for.body - %arrayidx = getelementptr inbounds i32* %sum, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %i.0 store i32 0, i32* %arrayidx, align 4 br label %for.inc @@ -65,7 +65,7 @@ for.body7: ; preds = %for.cond5 S1: ; preds = %for.body7 %add = add nsw i32 %i1.0, %j.0 - %arrayidx8 = getelementptr inbounds i32* %sum, i32 %add + %arrayidx8 = getelementptr inbounds i32, i32* %sum, i32 %add %tmp = load i32* %arrayidx8, align 4 %add9 = add nsw i32 %tmp, %i1.0 store i32 %add9, i32* %arrayidx8, align 4 @@ -95,10 +95,10 @@ for.body19: ; preds = %for.cond17 S2: ; preds = %for.body19 %add20 = add nsw i32 %i16.0, 1 - %arrayidx21 = getelementptr inbounds i32* %sum, i32 %add20 + %arrayidx21 = getelementptr inbounds i32, i32* %sum, i32 %add20 %tmp4 = load i32* %arrayidx21, align 4 %mul = mul nsw i32 %tmp4, 3 - %arrayidx22 = getelementptr inbounds i32* %sum, i32 %i16.0 + %arrayidx22 = getelementptr inbounds i32, i32* %sum, i32 %i16.0 store i32 %mul, i32* %arrayidx22, align 4 br label %for.inc23 diff --git a/polly/test/Dependences/reduction_privatization_deps_2.ll b/polly/test/Dependences/reduction_privatization_deps_2.ll index bf2b9c557da6..60fc54f9495d 100644 --- a/polly/test/Dependences/reduction_privatization_deps_2.ll +++ b/polly/test/Dependences/reduction_privatization_deps_2.ll @@ -40,7 +40,7 @@ for.body: ; preds = %for.cond S1: ; preds = %for.body %add = add nsw i32 %i.0, 1 - %arrayidx = getelementptr inbounds i32* %sum, i32 %add + %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %add %tmp = load i32* %arrayidx, align 4 %add1 = add nsw i32 %tmp, 42 store i32 %add1, i32* %arrayidx, align 4 @@ -56,7 +56,7 @@ for.body4: ; preds = %for.cond2 S2: ; preds = %for.body4 %mul = mul nsw i32 %i.0, %j.0 - %arrayidx5 = getelementptr inbounds i32* %sum, i32 %i.0 + %arrayidx5 = getelementptr inbounds i32, i32* %sum, i32 %i.0 %tmp2 = load i32* %arrayidx5, align 4 %add6 = add nsw i32 %tmp2, %mul store i32 %add6, i32* %arrayidx5, align 4 @@ -71,7 +71,7 @@ for.end: ; preds = %for.cond2 S3: ; preds = %for.end %add7 = add nsw i32 %i.0, 1 - %arrayidx8 = getelementptr inbounds i32* %sum, i32 %add7 + %arrayidx8 = getelementptr inbounds i32, i32* %sum, i32 %add7 %tmp3 = load i32* %arrayidx8, align 4 %add9 = add nsw i32 %tmp3, 7 store i32 %add9, i32* %arrayidx8, align 4 diff --git a/polly/test/Dependences/reduction_privatization_deps_3.ll b/polly/test/Dependences/reduction_privatization_deps_3.ll index 66b9ccd739ee..7c6dee9d0033 100644 --- a/polly/test/Dependences/reduction_privatization_deps_3.ll +++ b/polly/test/Dependences/reduction_privatization_deps_3.ll @@ -40,7 +40,7 @@ for.body: ; preds = %for.cond S1: ; preds = %for.body %add = add nsw i32 %i.0, 1 - %arrayidx = getelementptr inbounds i32* %sum, i32 %add + %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %add %tmp = load i32* %arrayidx, align 4 %add1 = add nsw i32 %tmp, 42 store i32 %add1, i32* %arrayidx, align 4 @@ -57,7 +57,7 @@ for.body4: ; preds = %for.cond2 S2: ; preds = %for.body4 %mul = mul nsw i32 %i.0, %j.0 %sub = sub nsw i32 %i.0, %j.0 - %arrayidx5 = getelementptr inbounds i32* %sum, i32 %sub + %arrayidx5 = getelementptr inbounds i32, i32* %sum, i32 %sub %tmp2 = load i32* %arrayidx5, align 4 %add6 = add nsw i32 %tmp2, %mul store i32 %add6, i32* %arrayidx5, align 4 @@ -72,7 +72,7 @@ for.end: ; preds = %for.cond2 S3: ; preds = %for.end %sub7 = add nsw i32 %i.0, -1 - %arrayidx8 = getelementptr inbounds i32* %sum, i32 %sub7 + %arrayidx8 = getelementptr inbounds i32, i32* %sum, i32 %sub7 %tmp3 = load i32* %arrayidx8, align 4 %add9 = add nsw i32 %tmp3, 7 store i32 %add9, i32* %arrayidx8, align 4 diff --git a/polly/test/Dependences/reduction_privatization_deps_4.ll b/polly/test/Dependences/reduction_privatization_deps_4.ll index bfececb4c069..84d1a1409d57 100644 --- a/polly/test/Dependences/reduction_privatization_deps_4.ll +++ b/polly/test/Dependences/reduction_privatization_deps_4.ll @@ -39,7 +39,7 @@ for.body: ; preds = %for.cond br label %S1 S1: ; preds = %for.body - %arrayidx = getelementptr inbounds i32* %sum, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 42 store i32 %add, i32* %arrayidx, align 4 @@ -55,7 +55,7 @@ for.body3: ; preds = %for.cond1 S2: ; preds = %for.body3 %mul = mul nsw i32 %i.0, %j.0 - %arrayidx4 = getelementptr inbounds i32* %sum, i32 %j.0 + %arrayidx4 = getelementptr inbounds i32, i32* %sum, i32 %j.0 %tmp2 = load i32* %arrayidx4, align 4 %add5 = add nsw i32 %tmp2, %mul store i32 %add5, i32* %arrayidx4, align 4 @@ -69,7 +69,7 @@ for.end: ; preds = %for.cond1 br label %S3 S3: ; preds = %for.end - %arrayidx6 = getelementptr inbounds i32* %sum, i32 %i.0 + %arrayidx6 = getelementptr inbounds i32, i32* %sum, i32 %i.0 %tmp3 = load i32* %arrayidx6, align 4 %add7 = add nsw i32 %tmp3, 7 store i32 %add7, i32* %arrayidx6, align 4 diff --git a/polly/test/Dependences/reduction_privatization_deps_5.ll b/polly/test/Dependences/reduction_privatization_deps_5.ll index eb4e4fb9d4a4..f4a3b796ef29 100644 --- a/polly/test/Dependences/reduction_privatization_deps_5.ll +++ b/polly/test/Dependences/reduction_privatization_deps_5.ll @@ -43,7 +43,7 @@ for.body3: ; preds = %for.cond1 br label %S1 S1: ; preds = %for.body3 - %arrayidx = getelementptr inbounds i32* %sum, i32 %j.0 + %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %j.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 42 store i32 %add, i32* %arrayidx, align 4 @@ -66,7 +66,7 @@ for.body6: ; preds = %for.cond4 S2: ; preds = %for.body6 %mul = mul nsw i32 %i.0, %j.1 - %arrayidx7 = getelementptr inbounds i32* %sum, i32 %j.1 + %arrayidx7 = getelementptr inbounds i32, i32* %sum, i32 %j.1 %tmp3 = load i32* %arrayidx7, align 4 %add8 = add nsw i32 %tmp3, %mul store i32 %add8, i32* %arrayidx7, align 4 diff --git a/polly/test/Dependences/reduction_two_reductions_different_rloops.ll b/polly/test/Dependences/reduction_two_reductions_different_rloops.ll index d57bb207ecdb..919fdebf57e9 100644 --- a/polly/test/Dependences/reduction_two_reductions_different_rloops.ll +++ b/polly/test/Dependences/reduction_two_reductions_different_rloops.ll @@ -40,17 +40,17 @@ for.cond1: ; preds = %for.inc, %for.body for.body3: ; preds = %for.cond1 %add = add nsw i32 %i.0, %j.0 %sub = add nsw i32 %add, -1 - %arrayidx = getelementptr inbounds i32* %Values, i32 %sub + %arrayidx = getelementptr inbounds i32, i32* %Values, i32 %sub %tmp = load i32* %arrayidx, align 4 - %arrayidx4 = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx4 = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp2 = load i32* %arrayidx4, align 4 %add5 = add nsw i32 %tmp2, %tmp store i32 %add5, i32* %arrayidx4, align 4 %add6 = add nsw i32 %i.0, %j.0 %add7 = add nsw i32 %add6, 42 - %arrayidx8 = getelementptr inbounds i32* %Values, i32 %add7 + %arrayidx8 = getelementptr inbounds i32, i32* %Values, i32 %add7 %tmp3 = load i32* %arrayidx8, align 4 - %arrayidx9 = getelementptr inbounds i32* %B, i32 %j.0 + %arrayidx9 = getelementptr inbounds i32, i32* %B, i32 %j.0 %tmp4 = load i32* %arrayidx9, align 4 %add10 = add nsw i32 %tmp4, %tmp3 store i32 %add10, i32* %arrayidx9, align 4 diff --git a/polly/test/Dependences/sequential_loops.ll b/polly/test/Dependences/sequential_loops.ll index e4d53531bf36..befec3eb1779 100644 --- a/polly/test/Dependences/sequential_loops.ll +++ b/polly/test/Dependences/sequential_loops.ll @@ -19,7 +19,7 @@ entry: S1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %S1 ] - %arrayidx.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 + %arrayidx.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 store i32 2, i32* %arrayidx.1 %indvar.next.1 = add i64 %indvar.1, 1 %exitcond.1 = icmp ne i64 %indvar.next.1, 100 @@ -30,7 +30,7 @@ exit.1: S2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %S2 ] - %arrayidx.2 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.2 + %arrayidx.2 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.2 store i32 5, i32* %arrayidx.2 %indvar.next.2 = add i64 %indvar.2, 1 %exitcond.2 = icmp ne i64 %indvar.next.2, 10 @@ -41,7 +41,7 @@ exit.2: S3: %indvar.3 = phi i64 [ 0, %exit.2 ], [ %indvar.next.3, %S3 ] - %arrayidx.3 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.3 + %arrayidx.3 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.3 store i32 7, i32* %arrayidx.3 %indvar.next.3 = add i64 %indvar.3, 1 %exitcond.3 = icmp ne i64 %indvar.next.3, 200 @@ -92,7 +92,7 @@ entry: S1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %S1 ] - %arrayidx.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 + %arrayidx.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 store i32 2, i32* %arrayidx.1 %indvar.next.1 = add i64 %indvar.1, 1 %exitcond.1 = icmp ne i64 %indvar.next.1, 100 @@ -103,7 +103,7 @@ exit.1: S2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %S2 ] - %arrayidx.2 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.2 + %arrayidx.2 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.2 store i32 5, i32* %arrayidx.2 %indvar.next.2 = add i64 %indvar.2, 1 %exitcond.2 = icmp ne i64 %indvar.next.2, 10 @@ -114,8 +114,8 @@ exit.2: S3: %indvar.3 = phi i64 [ 0, %exit.2 ], [ %indvar.next.3, %S3 ] - %arrayidx.3.a = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.3 - %arrayidx.3.b = getelementptr [200 x i32]* %B, i64 0, i64 %indvar.3 + %arrayidx.3.a = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.3 + %arrayidx.3.b = getelementptr [200 x i32], [200 x i32]* %B, i64 0, i64 %indvar.3 %val = load i32* %arrayidx.3.a store i32 %val, i32* %arrayidx.3.b %indvar.next.3 = add i64 %indvar.3, 1 @@ -169,8 +169,8 @@ entry: S1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %S1 ] - %arrayidx.1.a = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 - %arrayidx.1.b = getelementptr [200 x i32]* %B, i64 0, i64 %indvar.1 + %arrayidx.1.a = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 + %arrayidx.1.b = getelementptr [200 x i32], [200 x i32]* %B, i64 0, i64 %indvar.1 %val = load i32* %arrayidx.1.a store i32 %val, i32* %arrayidx.1.b %indvar.next.1 = add i64 %indvar.1, 1 @@ -182,7 +182,7 @@ exit.1: S2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %S2 ] - %arrayidx.2 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.2 + %arrayidx.2 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.2 store i32 5, i32* %arrayidx.2 %indvar.next.2 = add i64 %indvar.2, 1 %exitcond.2 = icmp ne i64 %indvar.next.2, 10 @@ -193,7 +193,7 @@ exit.2: S3: %indvar.3 = phi i64 [ 0, %exit.2 ], [ %indvar.next.3, %S3 ] - %arrayidx.3 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.3 + %arrayidx.3 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.3 store i32 10, i32* %arrayidx.3 %indvar.next.3 = add i64 %indvar.3, 1 %exitcond.3 = icmp ne i64 %indvar.next.3, 200 @@ -245,7 +245,7 @@ entry: S1: %indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %S1 ] - %arrayidx.1 = getelementptr [200 x i32]* %A, i64 0, i64 %indvar.1 + %arrayidx.1 = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %indvar.1 store i32 10, i32* %arrayidx.1 %indvar.next.1 = add i64 %indvar.1, 1 %exitcond.1 = icmp ne i64 %indvar.next.1, 100 @@ -257,8 +257,8 @@ exit.1: S2: %indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %S2 ] %sum = add i64 %indvar.2, %p - %arrayidx.2.a = getelementptr [200 x i32]* %A, i64 0, i64 %sum - %arrayidx.2.b = getelementptr [200 x i32]* %B, i64 0, i64 %indvar.2 + %arrayidx.2.a = getelementptr [200 x i32], [200 x i32]* %A, i64 0, i64 %sum + %arrayidx.2.b = getelementptr [200 x i32], [200 x i32]* %B, i64 0, i64 %indvar.2 %val = load i32* %arrayidx.2.a store i32 %val, i32* %arrayidx.2.b %indvar.next.2 = add i64 %indvar.2, 1 diff --git a/polly/test/IndependentBlocks/inter_bb_scalar_dep.ll b/polly/test/IndependentBlocks/inter_bb_scalar_dep.ll index 9891cd18eb9c..d18cc51154fa 100644 --- a/polly/test/IndependentBlocks/inter_bb_scalar_dep.ll +++ b/polly/test/IndependentBlocks/inter_bb_scalar_dep.ll @@ -43,7 +43,7 @@ for.j: ; CHECK: %init.loadarray = load i64* %init.s2a ; CHECK: %init_plus_two = add i64 %init.loadarray, 2 ; SCALARACCESS: %init_plus_two = add i64 %init, 2 - %scevgep = getelementptr i64* %A, i64 %indvar.j + %scevgep = getelementptr i64, i64* %A, i64 %indvar.j store i64 %init_plus_two, i64* %scevgep %indvar.j.next = add nsw i64 %indvar.j, 1 %exitcond.j = icmp eq i64 %indvar.j.next, %N diff --git a/polly/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll b/polly/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll index 4ff69725d977..c17fc09d448a 100644 --- a/polly/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll +++ b/polly/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll @@ -52,7 +52,7 @@ for.j: ; SCALARACCESS: %init_2 = load i64* %init_ptr ; SCALARACCESS: %init_sum = add i64 %init, %init_2 - %scevgep = getelementptr i64* %A, i64 %indvar.j + %scevgep = getelementptr i64, i64* %A, i64 %indvar.j store i64 %init_sum, i64* %scevgep %indvar.j.next = add nsw i64 %indvar.j, 1 %exitcond.j = icmp eq i64 %indvar.j.next, %N diff --git a/polly/test/IndependentBlocks/intra_bb_scalar_dep.ll b/polly/test/IndependentBlocks/intra_bb_scalar_dep.ll index 8dc7e0d81801..07d8b81885dd 100644 --- a/polly/test/IndependentBlocks/intra_bb_scalar_dep.ll +++ b/polly/test/IndependentBlocks/intra_bb_scalar_dep.ll @@ -39,7 +39,7 @@ for.j: ; The scalar evolution of %init_plus_two is (2 + %init). So we have a ; non-trivial scalar evolution referring to a value in the same basic block. ; We want to ensure that this scalar is not translated into a memory copy. - %scevgep = getelementptr i64* %A, i64 %indvar.j + %scevgep = getelementptr i64, i64* %A, i64 %indvar.j store i64 %init_plus_two, i64* %scevgep %indvar.j.next = add nsw i64 %indvar.j, 1 %exitcond.j = icmp eq i64 %indvar.j.next, %N diff --git a/polly/test/IndependentBlocks/scalar_to_array.ll b/polly/test/IndependentBlocks/scalar_to_array.ll index 262a920b669a..39672c120780 100644 --- a/polly/test/IndependentBlocks/scalar_to_array.ll +++ b/polly/test/IndependentBlocks/scalar_to_array.ll @@ -47,7 +47,7 @@ for.cond: br i1 %exitcond, label %for.body, label %return for.body: - %arrayidx = getelementptr [1024 x float]* @A, i64 0, i64 %indvar + %arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar %float = uitofp i64 %indvar to float store float %float, float* %arrayidx br label %for.inc @@ -87,31 +87,31 @@ for.cond: br i1 %exitcond, label %for.body.a, label %return for.body.a: - %arrayidx = getelementptr [1024 x float]* @A, i64 0, i64 %indvar + %arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar %scalar = load float* %arrayidx br label %for.body.b ; CHECK: for.body.a: -; CHECK: %arrayidx = getelementptr [1024 x float]* @A, i64 0, i64 %indvar +; CHECK: %arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar ; CHECK: %scalar = load float* %arrayidx ; CHECK: store float %scalar, float* %scalar.s2a ; CHECK: br label %for.body.b ; SCALARACCESS: for.body.a: -; SCALARACCESS: %arrayidx = getelementptr [1024 x float]* @A, i64 0, i64 %indvar +; SCALARACCESS: %arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar ; SCALARACCESS: %scalar = load float* %arrayidx ; SCALARACCESS-NOT: store ; SCALARACCESS: br label %for.body.b for.body.b: - %arrayidx2 = getelementptr [1024 x float]* @A, i64 0, i64 %indvar + %arrayidx2 = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar %float = uitofp i64 %indvar to float %sum = fadd float %scalar, %float store float %sum, float* %arrayidx2 br label %for.inc ; CHECK: for.body.b: -; CHECK: %arrayidx2 = getelementptr [1024 x float]* @A, i64 0, i64 %indvar +; CHECK: %arrayidx2 = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar ; CHECK: %float = uitofp i64 %indvar to float ; CHECK: %scalar.loadarray = load float* %scalar.s2a ; CHECK: %sum = fadd float %scalar.loadarray, %float @@ -119,7 +119,7 @@ for.body.b: ; CHECK: br label %for.inc ; SCALARACCESS: for.body.b: -; SCALARACCESS: %arrayidx2 = getelementptr [1024 x float]* @A, i64 0, i64 %indvar +; SCALARACCESS: %arrayidx2 = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar ; SCALARACCESS: %float = uitofp i64 %indvar to float ; SCALARACCESS-NOT: load ; SCALARACCESS: %sum = fadd float %scalar, %float @@ -159,7 +159,7 @@ for.head: br label %for.body for.body: - %arrayidx = getelementptr [1024 x float]* @A, i64 0, i64 %indvar + %arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar %scalar = load float* %arrayidx br label %for.inc @@ -219,7 +219,7 @@ for.cond: br i1 %exitcond, label %for.body, label %return for.body: - %arrayidx = getelementptr [1024 x float]* @A, i64 0, i64 %indvar + %arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar store float %scalar, float* %arrayidx br label %for.inc @@ -253,7 +253,7 @@ for.cond: br i1 %exitcond, label %for.body, label %return for.body: - %arrayidx = getelementptr [1024 x float]* @A, i64 0, i64 %indvar + %arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar store float %scalar, float* %arrayidx br label %for.inc diff --git a/polly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll b/polly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll index 3a1f7a9e7672..5b51ce056f54 100644 --- a/polly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll +++ b/polly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll @@ -21,7 +21,7 @@ for.cond: ; preds = %for.inc, %entry br i1 %exitcond3, label %for.body, label %for.end for.body: ; preds = %for.cond - %arrayidx = getelementptr inbounds i32* %A, i64 %indvars.iv1 + %arrayidx = getelementptr inbounds i32, i32* %A, i64 %indvars.iv1 store i32 1, i32* %arrayidx, align 4 br label %for.inc @@ -38,10 +38,10 @@ for.cond2: ; preds = %for.inc9, %for.end br i1 %exitcond, label %for.body4, label %for.end11 for.body4: ; preds = %for.cond2 - %arrayidx6 = getelementptr inbounds i32* %A, i64 %indvars.iv + %arrayidx6 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv %tmp = load i32* %arrayidx6, align 4 %mul = shl nsw i32 %tmp, 1 - %arrayidx8 = getelementptr inbounds i32* %A, i64 %indvars.iv + %arrayidx8 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv store i32 %mul, i32* %arrayidx8, align 4 br label %for.inc9 diff --git a/polly/test/Isl/Ast/OpenMP/nested_loop_both_parallel.ll b/polly/test/Isl/Ast/OpenMP/nested_loop_both_parallel.ll index 1dde52ee37b7..d8eb5f8bff19 100644 --- a/polly/test/Isl/Ast/OpenMP/nested_loop_both_parallel.ll +++ b/polly/test/Isl/Ast/OpenMP/nested_loop_both_parallel.ll @@ -23,7 +23,7 @@ loop.j: br i1 %exitcond.j, label %loop.body, label %loop.i.backedge loop.body: - %scevgep = getelementptr [1024 x [1024 x i32] ]* @A, i64 0, i64 %j, i64 %i + %scevgep = getelementptr [1024 x [1024 x i32] ], [1024 x [1024 x i32] ]* @A, i64 0, i64 %j, i64 %i store i32 1, i32* %scevgep br label %loop.j.backedge diff --git a/polly/test/Isl/Ast/OpenMP/nested_loop_both_parallel_parametric.ll b/polly/test/Isl/Ast/OpenMP/nested_loop_both_parallel_parametric.ll index 832521c31999..912ff2d755f4 100644 --- a/polly/test/Isl/Ast/OpenMP/nested_loop_both_parallel_parametric.ll +++ b/polly/test/Isl/Ast/OpenMP/nested_loop_both_parallel_parametric.ll @@ -24,7 +24,7 @@ loop.j: br i1 %exitcond.j, label %loop.body, label %loop.i.backedge loop.body: - %scevgep = getelementptr [1024 x [1024 x i32] ]* @A, i64 0, i64 %j, i64 %i + %scevgep = getelementptr [1024 x [1024 x i32] ], [1024 x [1024 x i32] ]* @A, i64 0, i64 %j, i64 %i store i32 1, i32* %scevgep br label %loop.j.backedge diff --git a/polly/test/Isl/Ast/OpenMP/nested_loop_inner_parallel.ll b/polly/test/Isl/Ast/OpenMP/nested_loop_inner_parallel.ll index 0f6471bf6934..8fa45ccbc112 100644 --- a/polly/test/Isl/Ast/OpenMP/nested_loop_inner_parallel.ll +++ b/polly/test/Isl/Ast/OpenMP/nested_loop_inner_parallel.ll @@ -23,7 +23,7 @@ loop.j: br i1 %exitcond.j, label %loop.body, label %loop.i.backedge loop.body: - %scevgep = getelementptr [1024 x i32]* @A, i64 0, i64 %j + %scevgep = getelementptr [1024 x i32], [1024 x i32]* @A, i64 0, i64 %j store i32 1, i32* %scevgep br label %loop.j.backedge diff --git a/polly/test/Isl/Ast/OpenMP/nested_loop_outer_parallel.ll b/polly/test/Isl/Ast/OpenMP/nested_loop_outer_parallel.ll index a411b5ffb751..6e0a0af2297c 100644 --- a/polly/test/Isl/Ast/OpenMP/nested_loop_outer_parallel.ll +++ b/polly/test/Isl/Ast/OpenMP/nested_loop_outer_parallel.ll @@ -23,7 +23,7 @@ loop.j: br i1 %exitcond.j, label %loop.body, label %loop.i.backedge loop.body: - %scevgep = getelementptr [1024 x i32]* @A, i64 0, i64 %i + %scevgep = getelementptr [1024 x i32], [1024 x i32]* @A, i64 0, i64 %i store i32 1, i32* %scevgep br label %loop.j.backedge diff --git a/polly/test/Isl/Ast/OpenMP/single_loop_param_non_parallel.ll b/polly/test/Isl/Ast/OpenMP/single_loop_param_non_parallel.ll index e36bfeaf7ba1..70af1fbff659 100644 --- a/polly/test/Isl/Ast/OpenMP/single_loop_param_non_parallel.ll +++ b/polly/test/Isl/Ast/OpenMP/single_loop_param_non_parallel.ll @@ -13,7 +13,7 @@ start: loop.header: %i = phi i64 [ 0, %start ], [ %i.next, %loop.backedge ] - %scevgep = getelementptr [1024 x i32]* @A, i64 0, i64 0 + %scevgep = getelementptr [1024 x i32], [1024 x i32]* @A, i64 0, i64 0 %exitcond = icmp ne i64 %i, %n br i1 %exitcond, label %loop.body, label %ret diff --git a/polly/test/Isl/Ast/OpenMP/single_loop_param_parallel.ll b/polly/test/Isl/Ast/OpenMP/single_loop_param_parallel.ll index b93f7ca24865..b769a19edace 100644 --- a/polly/test/Isl/Ast/OpenMP/single_loop_param_parallel.ll +++ b/polly/test/Isl/Ast/OpenMP/single_loop_param_parallel.ll @@ -13,7 +13,7 @@ start: loop.header: %i = phi i64 [ 0, %start ], [ %i.next, %loop.backedge ] - %scevgep = getelementptr [1024 x i32]* @A, i64 0, i64 %i + %scevgep = getelementptr [1024 x i32], [1024 x i32]* @A, i64 0, i64 %i %exitcond = icmp ne i64 %i, %n br i1 %exitcond, label %loop.body, label %ret diff --git a/polly/test/Isl/Ast/OpenMP/single_loop_param_parallel_computeout.ll b/polly/test/Isl/Ast/OpenMP/single_loop_param_parallel_computeout.ll index cb1bf2d06436..3740b27aed49 100644 --- a/polly/test/Isl/Ast/OpenMP/single_loop_param_parallel_computeout.ll +++ b/polly/test/Isl/Ast/OpenMP/single_loop_param_parallel_computeout.ll @@ -13,7 +13,7 @@ start: loop.header: %i = phi i64 [ 0, %start ], [ %i.next, %loop.backedge ] - %scevgep = getelementptr [1024 x i32]* @A, i64 0, i64 %i + %scevgep = getelementptr [1024 x i32], [1024 x i32]* @A, i64 0, i64 %i %exitcond = icmp ne i64 %i, %n br i1 %exitcond, label %loop.body, label %ret diff --git a/polly/test/Isl/Ast/alias_simple_1.ll b/polly/test/Isl/Ast/alias_simple_1.ll index 9224b0ab42f9..fbcd7b46c60a 100644 --- a/polly/test/Isl/Ast/alias_simple_1.ll +++ b/polly/test/Isl/Ast/alias_simple_1.ll @@ -32,10 +32,10 @@ for.body.preheader: ; preds = %entry for.body: ; preds = %for.body.preheader, %for.body %indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ 0, %for.body.preheader ] - %arrayidx = getelementptr inbounds float* %B, i64 %indvars.iv + %arrayidx = getelementptr inbounds float, float* %B, i64 %indvars.iv %tmp = load float* %arrayidx, align 4, !tbaa !1 %conv = fptosi float %tmp to i32 - %arrayidx2 = getelementptr inbounds [1024 x i32]* @A, i64 0, i64 %indvars.iv + %arrayidx2 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv store i32 %conv, i32* %arrayidx2, align 4, !tbaa !5 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %lftr.wideiv1 = trunc i64 %indvars.iv.next to i32 diff --git a/polly/test/Isl/Ast/alias_simple_2.ll b/polly/test/Isl/Ast/alias_simple_2.ll index ca32c824b4fc..2bbc8deee816 100644 --- a/polly/test/Isl/Ast/alias_simple_2.ll +++ b/polly/test/Isl/Ast/alias_simple_2.ll @@ -33,9 +33,9 @@ for.body.preheader: ; preds = %entry for.body: ; preds = %for.body.preheader, %for.body %indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ 0, %for.body.preheader ] - %arrayidx = getelementptr inbounds [1024 x i32]* @B, i64 0, i64 %indvars.iv + %arrayidx = getelementptr inbounds [1024 x i32], [1024 x i32]* @B, i64 0, i64 %indvars.iv %tmp = load i32* %arrayidx, align 4, !tbaa !5 - %arrayidx2 = getelementptr inbounds [1024 x i32]* @A, i64 0, i64 %indvars.iv + %arrayidx2 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv store i32 %tmp, i32* %arrayidx2, align 4, !tbaa !5 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %lftr.wideiv1 = trunc i64 %indvars.iv.next to i32 diff --git a/polly/test/Isl/Ast/alias_simple_3.ll b/polly/test/Isl/Ast/alias_simple_3.ll index 493671d7eb73..58d6553d23b7 100644 --- a/polly/test/Isl/Ast/alias_simple_3.ll +++ b/polly/test/Isl/Ast/alias_simple_3.ll @@ -33,10 +33,10 @@ for.body.preheader: ; preds = %entry for.body: ; preds = %for.body.preheader, %for.body %indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ 0, %for.body.preheader ] - %arrayidx = getelementptr inbounds [1024 x float]* @B, i64 0, i64 %indvars.iv + %arrayidx = getelementptr inbounds [1024 x float], [1024 x float]* @B, i64 0, i64 %indvars.iv %tmp = load float* %arrayidx, align 4, !tbaa !1 %conv = fptosi float %tmp to i32 - %arrayidx2 = getelementptr inbounds [1024 x i32]* @A, i64 0, i64 %indvars.iv + %arrayidx2 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv store i32 %conv, i32* %arrayidx2, align 4, !tbaa !5 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %lftr.wideiv1 = trunc i64 %indvars.iv.next to i32 diff --git a/polly/test/Isl/Ast/aliasing_multiple_alias_groups.ll b/polly/test/Isl/Ast/aliasing_multiple_alias_groups.ll index 146fdc97880a..c0ca608d2acb 100644 --- a/polly/test/Isl/Ast/aliasing_multiple_alias_groups.ll +++ b/polly/test/Isl/Ast/aliasing_multiple_alias_groups.ll @@ -29,13 +29,13 @@ entry: for.body: ; preds = %for.body, %entry %indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ] - %arrayidx = getelementptr inbounds i32* %Int1, i64 %indvars.iv + %arrayidx = getelementptr inbounds i32, i32* %Int1, i64 %indvars.iv %tmp = load i32* %arrayidx, align 4, !tbaa !0 - %arrayidx2 = getelementptr inbounds i32* %Int0, i64 %indvars.iv + %arrayidx2 = getelementptr inbounds i32, i32* %Int0, i64 %indvars.iv store i32 %tmp, i32* %arrayidx2, align 4, !tbaa !0 - %arrayidx4 = getelementptr inbounds float* %Float1, i64 %indvars.iv + %arrayidx4 = getelementptr inbounds float, float* %Float1, i64 %indvars.iv %tmp1 = load float* %arrayidx4, align 4, !tbaa !4 - %arrayidx6 = getelementptr inbounds float* %Float0, i64 %indvars.iv + %arrayidx6 = getelementptr inbounds float, float* %Float0, i64 %indvars.iv store float %tmp1, float* %arrayidx6, align 4, !tbaa !4 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %exitcond = icmp eq i64 %indvars.iv.next, 1024 diff --git a/polly/test/Isl/Ast/aliasing_parametric_simple_1.ll b/polly/test/Isl/Ast/aliasing_parametric_simple_1.ll index e46551b4fcdd..8f3154d131c4 100644 --- a/polly/test/Isl/Ast/aliasing_parametric_simple_1.ll +++ b/polly/test/Isl/Ast/aliasing_parametric_simple_1.ll @@ -24,9 +24,9 @@ for.cond: ; preds = %for.inc, %entry for.body: ; preds = %for.cond %idxprom = sext i32 %c to i64 - %arrayidx = getelementptr inbounds i32* %B, i64 %idxprom + %arrayidx = getelementptr inbounds i32, i32* %B, i64 %idxprom %tmp = load i32* %arrayidx, align 4 - %arrayidx2 = getelementptr inbounds i32* %A, i64 %indvars.iv + %arrayidx2 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv store i32 %tmp, i32* %arrayidx2, align 4 br label %for.inc diff --git a/polly/test/Isl/Ast/aliasing_parametric_simple_2.ll b/polly/test/Isl/Ast/aliasing_parametric_simple_2.ll index d3fb528cc8f7..bd2e126f2a11 100644 --- a/polly/test/Isl/Ast/aliasing_parametric_simple_2.ll +++ b/polly/test/Isl/Ast/aliasing_parametric_simple_2.ll @@ -25,12 +25,12 @@ for.cond: ; preds = %for.inc, %entry for.body: ; preds = %for.cond %sub = add nsw i32 %c, -10 %idxprom = sext i32 %sub to i64 - %arrayidx = getelementptr inbounds i32* %B, i64 %idxprom + %arrayidx = getelementptr inbounds i32, i32* %B, i64 %idxprom %tmp = load i32* %arrayidx, align 4 - %arrayidx1 = getelementptr inbounds i32* %B, i64 5 + %arrayidx1 = getelementptr inbounds i32, i32* %B, i64 5 %tmp1 = load i32* %arrayidx1, align 4 %add = add nsw i32 %tmp, %tmp1 - %arrayidx3 = getelementptr inbounds i32* %A, i64 %indvars.iv + %arrayidx3 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv store i32 %add, i32* %arrayidx3, align 4 br label %for.inc diff --git a/polly/test/Isl/Ast/dependence_distance_constant.ll b/polly/test/Isl/Ast/dependence_distance_constant.ll index fa17ee5016ef..ecdd4d923f47 100644 --- a/polly/test/Isl/Ast/dependence_distance_constant.ll +++ b/polly/test/Isl/Ast/dependence_distance_constant.ll @@ -28,11 +28,11 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 1 %add4 = add nsw i32 %i.0, 8 - %arrayidx5 = getelementptr inbounds i32* %A, i32 %add4 + %arrayidx5 = getelementptr inbounds i32, i32* %A, i32 %add4 store i32 %add, i32* %arrayidx5, align 4 br label %for.inc diff --git a/polly/test/Isl/Ast/dependence_distance_multiple_constant.ll b/polly/test/Isl/Ast/dependence_distance_multiple_constant.ll index 18e1b8d7459e..32f9d4c9e2c4 100644 --- a/polly/test/Isl/Ast/dependence_distance_multiple_constant.ll +++ b/polly/test/Isl/Ast/dependence_distance_multiple_constant.ll @@ -20,17 +20,17 @@ for.cond: ; preds = %for.inc, %entry br i1 %cmp, label %for.body, label %for.end for.body: ; preds = %for.cond - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 1 %add1 = add nsw i32 %i.0, 7 - %arrayidx2 = getelementptr inbounds i32* %A, i32 %add1 + %arrayidx2 = getelementptr inbounds i32, i32* %A, i32 %add1 store i32 %add, i32* %arrayidx2, align 4 - %arrayidx3 = getelementptr inbounds i32* %B, i32 %i.0 + %arrayidx3 = getelementptr inbounds i32, i32* %B, i32 %i.0 %tmp1 = load i32* %arrayidx3, align 4 %add4 = add nsw i32 %tmp1, 1 %add5 = add nsw i32 %i.0, 5 - %arrayidx6 = getelementptr inbounds i32* %B, i32 %add5 + %arrayidx6 = getelementptr inbounds i32, i32* %B, i32 %add5 store i32 %add4, i32* %arrayidx6, align 4 br label %for.inc diff --git a/polly/test/Isl/Ast/dependence_distance_parametric.ll b/polly/test/Isl/Ast/dependence_distance_parametric.ll index 66f4be460960..43b38b54e7cf 100644 --- a/polly/test/Isl/Ast/dependence_distance_parametric.ll +++ b/polly/test/Isl/Ast/dependence_distance_parametric.ll @@ -28,11 +28,11 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 1 %add4 = add nsw i32 %i.0, %c - %arrayidx5 = getelementptr inbounds i32* %A, i32 %add4 + %arrayidx5 = getelementptr inbounds i32, i32* %A, i32 %add4 store i32 %add, i32* %arrayidx5, align 4 br label %for.inc diff --git a/polly/test/Isl/Ast/dependence_distance_parametric_expr.ll b/polly/test/Isl/Ast/dependence_distance_parametric_expr.ll index 52d64c49b03b..6cfd91eb4883 100644 --- a/polly/test/Isl/Ast/dependence_distance_parametric_expr.ll +++ b/polly/test/Isl/Ast/dependence_distance_parametric_expr.ll @@ -28,12 +28,12 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 1 %add4 = add nsw i32 %i.0, %c %add5 = add nsw i32 %add4, %v - %arrayidx6 = getelementptr inbounds i32* %A, i32 %add5 + %arrayidx6 = getelementptr inbounds i32, i32* %A, i32 %add5 store i32 %add, i32* %arrayidx6, align 4 br label %for.inc diff --git a/polly/test/Isl/Ast/dependence_distance_varying.ll b/polly/test/Isl/Ast/dependence_distance_varying.ll index 82b8a8f254b7..a66ed9171c3c 100644 --- a/polly/test/Isl/Ast/dependence_distance_varying.ll +++ b/polly/test/Isl/Ast/dependence_distance_varying.ll @@ -19,10 +19,10 @@ for.cond: ; preds = %for.inc, %entry for.body: ; preds = %for.cond %sub = sub nsw i32 %N, %i.0 - %arrayidx = getelementptr inbounds i32* %A, i32 %sub + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %sub %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 1 - %arrayidx1 = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx1 = getelementptr inbounds i32, i32* %A, i32 %i.0 store i32 %add, i32* %arrayidx1, align 4 br label %for.inc diff --git a/polly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll b/polly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll index 181cd3d2e41f..867d4f8ec261 100644 --- a/polly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll +++ b/polly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll @@ -28,12 +28,12 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %j.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %j.0 %tmp = load i32* %arrayidx, align 4 %add = mul nsw i32 %tmp, 3 %add5 = add nsw i32 %add, 2 %sub = add nsw i32 %i.0, -3 - %arrayidx6 = getelementptr inbounds i32* %A, i32 %sub + %arrayidx6 = getelementptr inbounds i32, i32* %A, i32 %sub store i32 %add5, i32* %arrayidx6, align 4 br label %for.inc diff --git a/polly/test/Isl/Ast/dependence_distance_varying_multiple.ll b/polly/test/Isl/Ast/dependence_distance_varying_multiple.ll index 8b34647135ad..81def72f2503 100644 --- a/polly/test/Isl/Ast/dependence_distance_varying_multiple.ll +++ b/polly/test/Isl/Ast/dependence_distance_varying_multiple.ll @@ -26,38 +26,38 @@ for.cond: ; preds = %for.inc, %entry for.body: ; preds = %for.cond %mul = shl nsw i32 %i.0, 1 %sub = sub nsw i32 100, %mul - %arrayidx = getelementptr inbounds i32* %A, i32 %sub + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %sub %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, 1 - %arrayidx1 = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx1 = getelementptr inbounds i32, i32* %A, i32 %i.0 store i32 %add, i32* %arrayidx1, align 4 %tmp1 = mul i32 %i.0, -3 %sub3 = add i32 %tmp1, 100 - %arrayidx4 = getelementptr inbounds i32* %B, i32 %sub3 + %arrayidx4 = getelementptr inbounds i32, i32* %B, i32 %sub3 %tmp2 = load i32* %arrayidx4, align 4 %add5 = add nsw i32 %tmp2, 1 - %arrayidx6 = getelementptr inbounds i32* %B, i32 %i.0 + %arrayidx6 = getelementptr inbounds i32, i32* %B, i32 %i.0 store i32 %add5, i32* %arrayidx6, align 4 %mul7 = shl nsw i32 %i.0, 2 %sub8 = sub nsw i32 100, %mul7 - %arrayidx9 = getelementptr inbounds i32* %C, i32 %sub8 + %arrayidx9 = getelementptr inbounds i32, i32* %C, i32 %sub8 %tmp3 = load i32* %arrayidx9, align 4 %add10 = add nsw i32 %tmp3, 1 - %arrayidx11 = getelementptr inbounds i32* %C, i32 %i.0 + %arrayidx11 = getelementptr inbounds i32, i32* %C, i32 %i.0 store i32 %add10, i32* %arrayidx11, align 4 %tmp4 = mul i32 %i.0, -5 %sub13 = add i32 %tmp4, 100 - %arrayidx14 = getelementptr inbounds i32* %D, i32 %sub13 + %arrayidx14 = getelementptr inbounds i32, i32* %D, i32 %sub13 %tmp5 = load i32* %arrayidx14, align 4 %add15 = add nsw i32 %tmp5, 1 - %arrayidx16 = getelementptr inbounds i32* %D, i32 %i.0 + %arrayidx16 = getelementptr inbounds i32, i32* %D, i32 %i.0 store i32 %add15, i32* %arrayidx16, align 4 %tmp6 = mul i32 %i.0, -6 %sub18 = add i32 %tmp6, 100 - %arrayidx19 = getelementptr inbounds i32* %E, i32 %sub18 + %arrayidx19 = getelementptr inbounds i32, i32* %E, i32 %sub18 %tmp7 = load i32* %arrayidx19, align 4 %add20 = add nsw i32 %tmp7, 1 - %arrayidx21 = getelementptr inbounds i32* %E, i32 %i.0 + %arrayidx21 = getelementptr inbounds i32, i32* %E, i32 %i.0 store i32 %add20, i32* %arrayidx21, align 4 br label %for.inc diff --git a/polly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll b/polly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll index 5d74d0b5b72f..8d405b5dc7c4 100644 --- a/polly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll +++ b/polly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll @@ -39,7 +39,7 @@ for.cond4: ; preds = %for.inc, %for.body3 for.body6: ; preds = %for.cond4 %tmp = mul nsw i32 %j.0, %M %arrayidx.sum = add i32 %tmp, %k.0 - %arrayidx7 = getelementptr inbounds i32* %sum, i32 %arrayidx.sum + %arrayidx7 = getelementptr inbounds i32, i32* %sum, i32 %arrayidx.sum %tmp1 = load i32* %arrayidx7, align 4 %xor = xor i32 %tmp1, %j.0 store i32 %xor, i32* %arrayidx7, align 4 diff --git a/polly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll b/polly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll index 0cec4487aa6d..0c24573c194e 100644 --- a/polly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll +++ b/polly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll @@ -28,7 +28,7 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %cmp2, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %sum, i32 %j.0 + %arrayidx = getelementptr inbounds i32, i32* %sum, i32 %j.0 %tmp = load i32* %arrayidx, align 4 %xor = xor i32 %tmp, %j.0 store i32 %xor, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll b/polly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll index 0e77e7925002..b7c78aabf882 100644 --- a/polly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll +++ b/polly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll @@ -28,20 +28,20 @@ for.cond: ; preds = %for.inc, %entry br i1 %exitcond, label %for.body, label %for.end for.body: ; preds = %for.cond - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %sub = add nsw i32 %i.0, -1 - %arrayidx1 = getelementptr inbounds i32* %A, i32 %sub + %arrayidx1 = getelementptr inbounds i32, i32* %A, i32 %sub %tmp1 = load i32* %arrayidx1, align 4 %add = add nsw i32 %tmp, %tmp1 - %arrayidx2 = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx2 = getelementptr inbounds i32, i32* %A, i32 %i.0 store i32 %add, i32* %arrayidx2, align 4 %sub4 = add nsw i32 %i.0, -2 - %arrayidx5 = getelementptr inbounds i32* %A, i32 %sub4 + %arrayidx5 = getelementptr inbounds i32, i32* %A, i32 %sub4 %tmp2 = load i32* %arrayidx5, align 4 %add6 = add nsw i32 %add, %tmp2 %sub7 = add nsw i32 %i.0, -1 - %arrayidx8 = getelementptr inbounds i32* %A, i32 %sub7 + %arrayidx8 = getelementptr inbounds i32, i32* %A, i32 %sub7 store i32 %add6, i32* %arrayidx8, align 4 %tmp3 = load i32* %sum, align 4 %add9 = add nsw i32 %tmp3, %i.0 diff --git a/polly/test/Isl/Ast/reduction_in_one_dimension.ll b/polly/test/Isl/Ast/reduction_in_one_dimension.ll index 8b14dc988867..5aec5835ac02 100644 --- a/polly/test/Isl/Ast/reduction_in_one_dimension.ll +++ b/polly/test/Isl/Ast/reduction_in_one_dimension.ll @@ -35,7 +35,7 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_loop_reversal.ll b/polly/test/Isl/Ast/reduction_loop_reversal.ll index 2ab9714c7f82..81a53e18596b 100644 --- a/polly/test/Isl/Ast/reduction_loop_reversal.ll +++ b/polly/test/Isl/Ast/reduction_loop_reversal.ll @@ -52,7 +52,7 @@ for.body5: ; preds = %for.cond2 S1: ; preds = %for.body5 %add6 = add nsw i32 %i1.0, 1 - %arrayidx7 = getelementptr inbounds i32* %A, i32 %add6 + %arrayidx7 = getelementptr inbounds i32, i32* %A, i32 %add6 store i32 1, i32* %arrayidx7, align 4 br label %for.inc8 diff --git a/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll b/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll index 650cec998c1d..1e20b96fd729 100644 --- a/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll +++ b/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll @@ -55,7 +55,7 @@ for.body5: ; preds = %for.cond2 S1: ; preds = %for.body5 %add6 = add nsw i32 %i1.0, 1 - %arrayidx7 = getelementptr inbounds i32* %A, i32 %add6 + %arrayidx7 = getelementptr inbounds i32, i32* %A, i32 %add6 store i32 1, i32* %arrayidx7, align 4 br label %for.inc8 diff --git a/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll b/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll index 3b8599b16ed6..c19946ad1dec 100644 --- a/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll +++ b/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll @@ -62,7 +62,7 @@ for.body5: ; preds = %for.cond2 S1: ; preds = %for.body5 %add6 = add nsw i32 %i1.0, 1 - %arrayidx7 = getelementptr inbounds i32* %A, i32 %add6 + %arrayidx7 = getelementptr inbounds i32, i32* %A, i32 %add6 store i32 1, i32* %arrayidx7, align 4 br label %for.inc8 diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule.ll b/polly/test/Isl/Ast/reduction_modulo_schedule.ll index 4ea03cfad5db..c1fa7c823ac6 100644 --- a/polly/test/Isl/Ast/reduction_modulo_schedule.ll +++ b/polly/test/Isl/Ast/reduction_modulo_schedule.ll @@ -55,7 +55,7 @@ for.body5: ; preds = %for.cond2 S1: ; preds = %for.body5 %add6 = add nsw i32 %i1.0, 1 - %arrayidx7 = getelementptr inbounds i32* %A, i32 %add6 + %arrayidx7 = getelementptr inbounds i32, i32* %A, i32 %add6 store i32 1, i32* %arrayidx7, align 4 br label %for.inc8 diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll index a66d31a9d7c6..3571b8fdf21c 100644 --- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll +++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll @@ -34,7 +34,7 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll index a03d9ebc8e29..bb1db3b14d19 100644 --- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll +++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll @@ -36,7 +36,7 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll index 4eafd4410253..ec086ccabdc3 100644 --- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll +++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll @@ -36,7 +36,7 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll index 6130dff8bb38..9358ffe8e661 100644 --- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll +++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll @@ -40,7 +40,7 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll index 4a6dbceb8a9f..8c47cde8feb5 100644 --- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll +++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll @@ -43,7 +43,7 @@ for.cond1: ; preds = %for.inc, %for.body br i1 %exitcond, label %for.body3, label %for.end for.body3: ; preds = %for.cond1 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_multiple_dimensions.ll b/polly/test/Isl/Ast/reduction_multiple_dimensions.ll index c4ebe899fdc2..24e6467518c8 100644 --- a/polly/test/Isl/Ast/reduction_multiple_dimensions.ll +++ b/polly/test/Isl/Ast/reduction_multiple_dimensions.ll @@ -43,7 +43,7 @@ for.cond4: ; preds = %for.inc, %for.body3 br i1 %exitcond, label %for.body6, label %for.end for.body6: ; preds = %for.cond4 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_multiple_dimensions_2.ll b/polly/test/Isl/Ast/reduction_multiple_dimensions_2.ll index 648d21a85ba9..ad51156f3a66 100644 --- a/polly/test/Isl/Ast/reduction_multiple_dimensions_2.ll +++ b/polly/test/Isl/Ast/reduction_multiple_dimensions_2.ll @@ -43,7 +43,7 @@ for.cond4: ; preds = %for.inc, %for.body3 br i1 %exitcond, label %for.body6, label %for.end for.body6: ; preds = %for.cond4 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_multiple_dimensions_3.ll b/polly/test/Isl/Ast/reduction_multiple_dimensions_3.ll index e87e12e55c16..bde764392115 100644 --- a/polly/test/Isl/Ast/reduction_multiple_dimensions_3.ll +++ b/polly/test/Isl/Ast/reduction_multiple_dimensions_3.ll @@ -43,7 +43,7 @@ for.cond4: ; preds = %for.inc, %for.body3 br i1 %exitcond, label %for.body6, label %for.end for.body6: ; preds = %for.cond4 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/reduction_multiple_dimensions_4.ll b/polly/test/Isl/Ast/reduction_multiple_dimensions_4.ll index 8acaece68129..0c585a4ae3d9 100644 --- a/polly/test/Isl/Ast/reduction_multiple_dimensions_4.ll +++ b/polly/test/Isl/Ast/reduction_multiple_dimensions_4.ll @@ -43,7 +43,7 @@ for.cond4: ; preds = %for.inc, %for.body3 br i1 %exitcond, label %for.body6, label %for.end for.body6: ; preds = %for.cond4 - %arrayidx = getelementptr inbounds i32* %A, i32 %i.0 + %arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0 %tmp = load i32* %arrayidx, align 4 %add = add nsw i32 %tmp, %i.0 store i32 %add, i32* %arrayidx, align 4 diff --git a/polly/test/Isl/Ast/run-time-condition.ll b/polly/test/Isl/Ast/run-time-condition.ll index 8c7dbf813fcb..36bc820b20ab 100644 --- a/polly/test/Isl/Ast/run-time-condition.ll +++ b/polly/test/Isl/Ast/run-time-condition.ll @@ -16,10 +16,10 @@ for.cond: ; preds = %for.body, %entry br i1 %cmp, label %for.body, label %for.end for.body: ; preds = %for.cond - %arrayidx = getelementptr inbounds i16* %B, i64 0 + %arrayidx = getelementptr inbounds i16, i16* %B, i64 0 %load = load i16* %arrayidx %add10 = add nsw i16 %load, 1 - %arrayidx13 = getelementptr inbounds i16* %A, i64 %indvar + %arrayidx13 = getelementptr inbounds i16, i16* %A, i64 %indvar store i16 %add10, i16* %arrayidx13, align 2 %inc = add nsw i64 %indvar, 1 br label %for.cond diff --git a/polly/test/Isl/Ast/simple-run-time-condition.ll b/polly/test/Isl/Ast/simple-run-time-condition.ll index a2257f808422..7138f58d9ced 100644 --- a/polly/test/Isl/Ast/simple-run-time-condition.ll +++ b/polly/test/Isl/Ast/simple-run-time-condition.ll @@ -54,7 +54,7 @@ for.j: %subscript0 = mul i64 %offset0, %m %offset1 = add nsw i64 %j, %q %subscript1 = add i64 %offset1, %subscript0 - %idx = getelementptr inbounds double* %A, i64 %subscript1 + %idx = getelementptr inbounds double, double* %A, i64 %subscript1 store double 1.0, double* %idx br label %for.j.inc @@ -79,7 +79,7 @@ for.j.1: %offset1.1 = add nsw i64 %j.1, %q %subscript1.1 = add i64 %offset1.1, %subscript0.1 %subscript1.2 = sub i64 %subscript1.1, 100 - %idx.1 = getelementptr inbounds double* %A, i64 %subscript1.2 + %idx.1 = getelementptr inbounds double, double* %A, i64 %subscript1.2 store double 1.0, double* %idx.1 br label %for.j.inc.1 diff --git a/polly/test/Isl/Ast/single_loop_strip_mine.ll b/polly/test/Isl/Ast/single_loop_strip_mine.ll index 252055fd25d9..5977702ae4f7 100644 --- a/polly/test/Isl/Ast/single_loop_strip_mine.ll +++ b/polly/test/Isl/Ast/single_loop_strip_mine.ll @@ -17,10 +17,10 @@ for.cond: ; preds = %for.body, %entry br i1 %cmp, label %for.body, label %for.end for.body: ; preds = %for.cond - %arrayidx = getelementptr inbounds i16* %B, i64 0 + %arrayidx = getelementptr inbounds i16, i16* %B, i64 0 %load = load i16* %arrayidx %add10 = add nsw i16 %load, 1 - %arrayidx13 = getelementptr inbounds i16* %A, i64 %indvar + %arrayidx13 = getelementptr inbounds i16, i16* %A, i64 %indvar store i16 %add10, i16* %arrayidx13, align 2 %inc = add nsw i64 %indvar, 1 br label %for.cond diff --git a/polly/test/Isl/CodeGen/20100707_2.ll b/polly/test/Isl/CodeGen/20100707_2.ll index 21673dcde2d0..03128ad7cf65 100644 --- a/polly/test/Isl/CodeGen/20100707_2.ll +++ b/polly/test/Isl/CodeGen/20100707_2.ll @@ -37,44 +37,44 @@ bb32: ; preds = %bb27 br label %bb37 bb34: ; preds = %bb35 - %0 = getelementptr inbounds [36 x double]* undef, i64 0, i64 0 ; [#uses=0] - %1 = getelementptr inbounds [18 x [32 x double]]* undef, i64 0, i64 0 ; <[32 x double]*> [#uses=1] - %2 = getelementptr inbounds [32 x double]* %1, i64 0, i64 0 ; [#uses=0] - %3 = getelementptr inbounds [36 x double]* undef, i64 0, i64 0 ; [#uses=0] + %0 = getelementptr inbounds [36 x double], [36 x double]* undef, i64 0, i64 0 ; [#uses=0] + %1 = getelementptr inbounds [18 x [32 x double]], [18 x [32 x double]]* undef, i64 0, i64 0 ; <[32 x double]*> [#uses=1] + %2 = getelementptr inbounds [32 x double], [32 x double]* %1, i64 0, i64 0 ; [#uses=0] + %3 = getelementptr inbounds [36 x double], [36 x double]* undef, i64 0, i64 0 ; [#uses=0] %4 = sub nsw i32 17, %k.4 ; [#uses=1] - %5 = getelementptr inbounds [2 x [2 x [18 x [32 x double]]]]* @sb_sample, i64 0, i64 0 ; <[2 x [18 x [32 x double]]]*> [#uses=1] - %6 = getelementptr inbounds [2 x [18 x [32 x double]]]* %5, i64 0, i64 0 ; <[18 x [32 x double]]*> [#uses=1] + %5 = getelementptr inbounds [2 x [2 x [18 x [32 x double]]]], [2 x [2 x [18 x [32 x double]]]]* @sb_sample, i64 0, i64 0 ; <[2 x [18 x [32 x double]]]*> [#uses=1] + %6 = getelementptr inbounds [2 x [18 x [32 x double]]], [2 x [18 x [32 x double]]]* %5, i64 0, i64 0 ; <[18 x [32 x double]]*> [#uses=1] %7 = sext i32 %4 to i64 ; [#uses=1] - %8 = getelementptr inbounds [18 x [32 x double]]* %6, i64 0, i64 %7 ; <[32 x double]*> [#uses=1] - %9 = getelementptr inbounds [32 x double]* %8, i64 0, i64 0 ; [#uses=1] + %8 = getelementptr inbounds [18 x [32 x double]], [18 x [32 x double]]* %6, i64 0, i64 %7 ; <[32 x double]*> [#uses=1] + %9 = getelementptr inbounds [32 x double], [32 x double]* %8, i64 0, i64 0 ; [#uses=1] %10 = load double* %9, align 8 ; [#uses=0] %11 = fsub double 0.000000e+00, undef ; [#uses=1] - %12 = getelementptr inbounds double* getelementptr inbounds ([4 x [36 x double]]* @win193, i64 0, i64 2, i64 4), i64 0 ; [#uses=1] + %12 = getelementptr inbounds double, double* getelementptr inbounds ([4 x [36 x double]]* @win193, i64 0, i64 2, i64 4), i64 0 ; [#uses=1] store double %11, double* %12, align 8 %13 = add nsw i32 %k.4, 9 ; [#uses=1] %14 = add nsw i32 %k.4, 18 ; [#uses=1] - %15 = getelementptr inbounds [4 x [36 x double]]* @win193, i64 0, i64 0 ; <[36 x double]*> [#uses=1] + %15 = getelementptr inbounds [4 x [36 x double]], [4 x [36 x double]]* @win193, i64 0, i64 0 ; <[36 x double]*> [#uses=1] %16 = sext i32 %14 to i64 ; [#uses=1] - %17 = getelementptr inbounds [36 x double]* %15, i64 0, i64 %16 ; [#uses=1] + %17 = getelementptr inbounds [36 x double], [36 x double]* %15, i64 0, i64 %16 ; [#uses=1] %18 = load double* %17, align 8 ; [#uses=0] %19 = sext i32 %k.4 to i64 ; [#uses=1] - %20 = getelementptr inbounds [18 x [32 x double]]* undef, i64 0, i64 %19 ; <[32 x double]*> [#uses=1] + %20 = getelementptr inbounds [18 x [32 x double]], [18 x [32 x double]]* undef, i64 0, i64 %19 ; <[32 x double]*> [#uses=1] %21 = sext i32 %band.2 to i64 ; [#uses=1] - %22 = getelementptr inbounds [32 x double]* %20, i64 0, i64 %21 ; [#uses=1] + %22 = getelementptr inbounds [32 x double], [32 x double]* %20, i64 0, i64 %21 ; [#uses=1] %23 = load double* %22, align 8 ; [#uses=0] %24 = sext i32 %39 to i64 ; [#uses=1] - %25 = getelementptr inbounds [4 x [36 x double]]* @win193, i64 0, i64 %24 ; <[36 x double]*> [#uses=1] - %26 = getelementptr inbounds [36 x double]* %25, i64 0, i64 0 ; [#uses=1] + %25 = getelementptr inbounds [4 x [36 x double]], [4 x [36 x double]]* @win193, i64 0, i64 %24 ; <[36 x double]*> [#uses=1] + %26 = getelementptr inbounds [36 x double], [36 x double]* %25, i64 0, i64 0 ; [#uses=1] %27 = load double* %26, align 8 ; [#uses=0] %28 = sub nsw i32 17, %k.4 ; [#uses=1] - %29 = getelementptr inbounds [2 x [2 x [18 x [32 x double]]]]* @sb_sample, i64 0, i64 0 ; <[2 x [18 x [32 x double]]]*> [#uses=1] - %30 = getelementptr inbounds [2 x [18 x [32 x double]]]* %29, i64 0, i64 0 ; <[18 x [32 x double]]*> [#uses=1] + %29 = getelementptr inbounds [2 x [2 x [18 x [32 x double]]]], [2 x [2 x [18 x [32 x double]]]]* @sb_sample, i64 0, i64 0 ; <[2 x [18 x [32 x double]]]*> [#uses=1] + %30 = getelementptr inbounds [2 x [18 x [32 x double]]], [2 x [18 x [32 x double]]]* %29, i64 0, i64 0 ; <[18 x [32 x double]]*> [#uses=1] %31 = sext i32 %28 to i64 ; [#uses=1] - %32 = getelementptr inbounds [18 x [32 x double]]* %30, i64 0, i64 %31 ; <[32 x double]*> [#uses=1] - %33 = getelementptr inbounds [32 x double]* %32, i64 0, i64 0 ; [#uses=1] + %32 = getelementptr inbounds [18 x [32 x double]], [18 x [32 x double]]* %30, i64 0, i64 %31 ; <[32 x double]*> [#uses=1] + %33 = getelementptr inbounds [32 x double], [32 x double]* %32, i64 0, i64 0 ; [#uses=1] %34 = load double* %33, align 8 ; [#uses=0] %35 = sext i32 %13 to i64 ; [#uses=1] - %36 = getelementptr inbounds double* getelementptr inbounds ([4 x [36 x double]]* @win193, i64 0, i64 2, i64 4), i64 %35 ; [#uses=1] + %36 = getelementptr inbounds double, double* getelementptr inbounds ([4 x [36 x double]]* @win193, i64 0, i64 2, i64 4), i64 %35 ; [#uses=1] store double 0.000000e+00, double* %36, align 8 %37 = sub nsw i32 %k.4, 1 ; [#uses=1] br label %bb35 diff --git a/polly/test/Isl/CodeGen/20100713_2.ll b/polly/test/Isl/CodeGen/20100713_2.ll index 7ffeec8d0366..5a4b7a5431a2 100644 --- a/polly/test/Isl/CodeGen/20100713_2.ll +++ b/polly/test/Isl/CodeGen/20100713_2.ll @@ -26,7 +26,7 @@ bb5: ; preds = %bb4 unreachable bb6: ; preds = %bb4 - %1 = getelementptr inbounds i8* undef, i64 %0 ; [#uses=0] + %1 = getelementptr inbounds i8, i8* undef, i64 %0 ; [#uses=0] ret void return: ; preds = %bb, %entry diff --git a/polly/test/Isl/CodeGen/20100717.ll b/polly/test/Isl/CodeGen/20100717.ll index 61f9136fbf88..9fd3a753539c 100644 --- a/polly/test/Isl/CodeGen/20100717.ll +++ b/polly/test/Isl/CodeGen/20100717.ll @@ -11,11 +11,11 @@ bb: ; preds = %bb4 br label %bb2 bb1: ; preds = %bb2 - %1 = getelementptr inbounds double** %A, i64 0 ; [#uses=0] - %2 = getelementptr inbounds double** %A, i64 0 ; [#uses=0] - %3 = getelementptr inbounds double** %A, i64 0 ; [#uses=0] + %1 = getelementptr inbounds double*, double** %A, i64 0 ; [#uses=0] + %2 = getelementptr inbounds double*, double** %A, i64 0 ; [#uses=0] + %3 = getelementptr inbounds double*, double** %A, i64 0 ; [#uses=0] %4 = sext i32 %j.0 to i64 ; [#uses=1] - %5 = getelementptr inbounds double** %A, i64 %4 ; [#uses=1] + %5 = getelementptr inbounds double*, double** %A, i64 %4 ; [#uses=1] %6 = load double** %5, align 8 ; [#uses=0] %7 = add nsw i32 %j.0, 1 ; [#uses=1] br label %bb2 diff --git a/polly/test/Isl/CodeGen/20100720-MultipleConditions.ll b/polly/test/Isl/CodeGen/20100720-MultipleConditions.ll index f8d7159c2d29..3d1781ea1be9 100644 --- a/polly/test/Isl/CodeGen/20100720-MultipleConditions.ll +++ b/polly/test/Isl/CodeGen/20100720-MultipleConditions.ll @@ -37,7 +37,7 @@ define i32 @main() nounwind { ;