From 690a9f62a8cc59cbc7d32a570f6913ad32f0b296 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 git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@230784 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodePreparation/if_condition.ll | 2 +- .../CodePreparation/multiple_loops_trivial_phis.ll | 2 +- test/CodePreparation/single_loop_trivial_phi.ll | 2 +- test/DeadCodeElimination/chained_iterations.ll | 6 ++-- test/DeadCodeElimination/chained_iterations_2.ll | 10 +++--- test/DeadCodeElimination/computeout.ll | 6 ++-- .../dead_iteration_elimination.ll | 8 ++--- test/DeadCodeElimination/non-affine-affine-mix.ll | 4 +-- test/DeadCodeElimination/non-affine.ll | 2 +- test/DeadCodeElimination/null_schedule.ll | 10 +++--- test/Dependences/computeout.ll | 6 ++-- test/Dependences/do_pluto_matmult.ll | 6 ++-- test/Dependences/reduction_complex_location.ll | 2 +- ..._dependences_equal_non_reduction_dependences.ll | 10 +++--- ...ixed_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 +-- ...artially_escaping_intermediate_in_other_stmt.ll | 6 ++-- test/Dependences/reduction_privatization_deps.ll | 8 ++--- test/Dependences/reduction_privatization_deps_2.ll | 6 ++-- test/Dependences/reduction_privatization_deps_3.ll | 6 ++-- test/Dependences/reduction_privatization_deps_4.ll | 6 ++-- test/Dependences/reduction_privatization_deps_5.ll | 4 +-- .../reduction_two_reductions_different_rloops.ll | 8 ++--- test/Dependences/sequential_loops.ll | 28 +++++++-------- test/IndependentBlocks/inter_bb_scalar_dep.ll | 2 +- .../intra_and_inter_bb_scalar_dep.ll | 2 +- test/IndependentBlocks/intra_bb_scalar_dep.ll | 2 +- test/IndependentBlocks/scalar_to_array.ll | 20 +++++------ .../Ast/OpenMP/multiple_loops_outer_parallel.ll | 6 ++-- test/Isl/Ast/OpenMP/nested_loop_both_parallel.ll | 2 +- .../OpenMP/nested_loop_both_parallel_parametric.ll | 2 +- test/Isl/Ast/OpenMP/nested_loop_inner_parallel.ll | 2 +- test/Isl/Ast/OpenMP/nested_loop_outer_parallel.ll | 2 +- .../Ast/OpenMP/single_loop_param_non_parallel.ll | 2 +- test/Isl/Ast/OpenMP/single_loop_param_parallel.ll | 2 +- .../single_loop_param_parallel_computeout.ll | 2 +- test/Isl/Ast/alias_simple_1.ll | 4 +-- test/Isl/Ast/alias_simple_2.ll | 4 +-- test/Isl/Ast/alias_simple_3.ll | 4 +-- test/Isl/Ast/aliasing_multiple_alias_groups.ll | 8 ++--- test/Isl/Ast/aliasing_parametric_simple_1.ll | 4 +-- test/Isl/Ast/aliasing_parametric_simple_2.ll | 6 ++-- test/Isl/Ast/dependence_distance_constant.ll | 4 +-- .../Ast/dependence_distance_multiple_constant.ll | 8 ++--- test/Isl/Ast/dependence_distance_parametric.ll | 4 +-- .../Isl/Ast/dependence_distance_parametric_expr.ll | 4 +-- test/Isl/Ast/dependence_distance_varying.ll | 4 +-- .../dependence_distance_varying_in_outer_loop.ll | 4 +-- .../Ast/dependence_distance_varying_multiple.ll | 20 +++++------ .../reduction_clauses_multidimensional_access.ll | 2 +- .../Ast/reduction_clauses_onedimensional_access.ll | 2 +- ..._dependences_equal_non_reduction_dependences.ll | 10 +++--- test/Isl/Ast/reduction_in_one_dimension.ll | 2 +- test/Isl/Ast/reduction_loop_reversal.ll | 2 +- .../reduction_modulo_and_loop_reversal_schedule.ll | 2 +- ...eduction_modulo_and_loop_reversal_schedule_2.ll | 2 +- test/Isl/Ast/reduction_modulo_schedule.ll | 2 +- ...eduction_modulo_schedule_multiple_dimensions.ll | 2 +- ...uction_modulo_schedule_multiple_dimensions_2.ll | 2 +- ...uction_modulo_schedule_multiple_dimensions_3.ll | 2 +- ...uction_modulo_schedule_multiple_dimensions_4.ll | 2 +- ...uction_modulo_schedule_multiple_dimensions_5.ll | 2 +- test/Isl/Ast/reduction_multiple_dimensions.ll | 2 +- test/Isl/Ast/reduction_multiple_dimensions_2.ll | 2 +- test/Isl/Ast/reduction_multiple_dimensions_3.ll | 2 +- test/Isl/Ast/reduction_multiple_dimensions_4.ll | 2 +- test/Isl/Ast/run-time-condition.ll | 4 +-- test/Isl/Ast/simple-run-time-condition.ll | 4 +-- test/Isl/Ast/single_loop_strip_mine.ll | 4 +-- test/Isl/CodeGen/20100707_2.ll | 40 +++++++++++----------- test/Isl/CodeGen/20100713_2.ll | 2 +- test/Isl/CodeGen/20100717.ll | 8 ++--- test/Isl/CodeGen/20100720-MultipleConditions.ll | 4 +-- test/Isl/CodeGen/20100809-IndependentBlock.ll | 4 +-- test/Isl/CodeGen/20101103-Overflow3.ll | 2 +- test/Isl/CodeGen/20130211-getNumberOfIterations.ll | 2 +- .../LoopParallelMD/do_not_mutate_debug_info.ll | 2 +- .../LoopParallelMD/loop_nest_param_parallel.ll | 2 +- .../LoopParallelMD/single_loop_param_parallel.ll | 6 ++-- test/Isl/CodeGen/MemAccess/bad_alignment.ll | 2 +- .../CodeGen/MemAccess/codegen_constant_offset.ll | 4 +-- test/Isl/CodeGen/MemAccess/codegen_simple.ll | 4 +-- test/Isl/CodeGen/MemAccess/codegen_simple_float.ll | 4 +-- test/Isl/CodeGen/MemAccess/codegen_simple_md.ll | 6 ++-- .../CodeGen/MemAccess/codegen_simple_md_float.ll | 6 ++-- .../default_aligned_new_access_function.ll | 4 +-- test/Isl/CodeGen/MemAccess/simple.ll | 4 +-- test/Isl/CodeGen/MemAccess/simple_analyze.ll | 4 +-- test/Isl/CodeGen/MemAccess/simple_stride_test.ll | 8 ++--- .../OpenMP/loop-body-references-outer-iv.ll | 2 +- .../OpenMP/loop-body-references-outer-values-2.ll | 4 +-- .../OpenMP/loop-body-references-outer-values-3.ll | 8 ++--- .../OpenMP/loop-body-references-outer-values.ll | 4 +-- .../OpenMP/loop-bounds-reference-outer-ids.ll | 10 +++--- test/Isl/CodeGen/OpenMP/reference-other-bb.ll | 2 +- .../CodeGen/OpenMP/reference-preceeding-loop.ll | 2 +- test/Isl/CodeGen/OpenMP/single_loop.ll | 4 +-- .../single_loop_with_loop_invariant_baseptr.ll | 2 +- .../two-parallel-loops-reference-outer-indvar.ll | 2 +- .../aliasing_different_base_and_access_type.ll | 8 ++--- .../CodeGen/aliasing_different_pointer_types.ll | 12 +++---- .../CodeGen/aliasing_multidimensional_access.ll | 6 ++-- test/Isl/CodeGen/aliasing_parametric_simple_1.ll | 12 +++---- test/Isl/CodeGen/aliasing_parametric_simple_2.ll | 14 ++++---- test/Isl/CodeGen/aliasing_struct_element.ll | 6 ++-- test/Isl/CodeGen/alignment.ll | 2 +- test/Isl/CodeGen/annotated_alias_scopes.ll | 6 ++-- test/Isl/CodeGen/blas_sscal_simplified.ll | 2 +- test/Isl/CodeGen/debug-intrinsics.ll | 2 +- test/Isl/CodeGen/intrinsics_lifetime.ll | 8 ++--- test/Isl/CodeGen/intrinsics_misc.ll | 8 ++--- test/Isl/CodeGen/loop_with_condition.ll | 8 ++--- test/Isl/CodeGen/loop_with_condition_2.ll | 8 ++--- test/Isl/CodeGen/loop_with_condition_ineq.ll | 8 ++--- test/Isl/CodeGen/loop_with_condition_nested.ll | 8 ++--- ...ith_conditional_entry_edge_splited_hard_case.ll | 2 +- ...tidim_2d_parametric_array_static_loop_bounds.ll | 2 +- test/Isl/CodeGen/multidim_alias_check.ll | 8 ++--- test/Isl/CodeGen/no_guard_bb.ll | 2 +- test/Isl/CodeGen/non_affine_float_compare.ll | 16 ++++----- test/Isl/CodeGen/openmp_limit_threads.ll | 2 +- test/Isl/CodeGen/pointer-type-expressions-2.ll | 2 +- test/Isl/CodeGen/pointer-type-expressions.ll | 2 +- .../pointer-type-pointer-type-comparison.ll | 6 ++-- test/Isl/CodeGen/reduction.ll | 16 ++++----- test/Isl/CodeGen/reduction_2.ll | 28 +++++++-------- .../run-time-condition-with-scev-parameters.ll | 2 +- test/Isl/CodeGen/run-time-condition.ll | 4 +-- .../scalar-references-used-in-scop-compute.ll | 4 +-- .../scop_never_executed_runtime_check_location.ll | 2 +- test/Isl/CodeGen/sequential_loops.ll | 6 ++-- test/Isl/CodeGen/simple_loop_non_single_exit.ll | 2 +- test/Isl/CodeGen/simple_loop_non_single_exit_2.ll | 2 +- test/Isl/CodeGen/simple_non_single_entry.ll | 2 +- test/Isl/CodeGen/simple_nonaffine_loop.ll | 4 +-- test/Isl/CodeGen/simple_vec_assign_scalar.ll | 4 +-- test/Isl/CodeGen/simple_vec_assign_scalar_2.ll | 4 +-- test/Isl/CodeGen/simple_vec_call.ll | 2 +- test/Isl/CodeGen/simple_vec_call_2.ll | 2 +- test/Isl/CodeGen/simple_vec_cast.ll | 2 +- test/Isl/CodeGen/simple_vec_const.ll | 2 +- test/Isl/CodeGen/simple_vec_large_width.ll | 4 +-- test/Isl/CodeGen/simple_vec_ptr_ptr_ty.ll | 2 +- test/Isl/CodeGen/simple_vec_stride_negative_one.ll | 2 +- test/Isl/CodeGen/simple_vec_stride_x.ll | 4 +-- test/Isl/CodeGen/simple_vec_two_stmts.ll | 6 ++-- test/Isl/CodeGen/single_do_loop_one_iteration.ll | 12 +++---- test/Isl/CodeGen/single_do_loop_scev_replace.ll | 2 +- test/Isl/CodeGen/single_loop.ll | 6 ++-- test/Isl/CodeGen/single_loop_int_max_iterations.ll | 12 +++---- test/Isl/CodeGen/single_loop_ll_max_iterations.ll | 12 +++---- test/Isl/CodeGen/single_loop_one_iteration.ll | 10 +++--- test/Isl/CodeGen/single_loop_param.ll | 4 +-- test/Isl/CodeGen/single_loop_zero_iterations.ll | 10 +++--- .../CodeGen/test-invalid-operands-for-select-2.ll | 10 +++--- .../CodeGen/test-invalid-operands-for-select.ll | 30 ++++++++-------- test/Isl/CodeGen/test.ll | 4 +-- test/Isl/CodeGen/two-scops-in-row.ll | 2 +- test/Isl/single_loop_param_less_equal.ll | 4 +-- test/Isl/single_loop_param_less_than.ll | 4 +-- test/Isl/single_loop_uint_max_iterations.ll | 12 +++---- test/Isl/single_loop_ull_max_iterations.ll | 12 +++---- .../2012-04-16-Trivially-vectorizable-loops.ll | 32 ++++++++--------- test/ScheduleOptimizer/2012-10-14-Zero-Bands.ll | 2 +- test/ScheduleOptimizer/computeout.ll | 6 ++-- test/ScheduleOptimizer/line-tiling-2.ll | 2 +- test/ScheduleOptimizer/line-tiling.ll | 2 +- test/ScheduleOptimizer/prevectorization.ll | 6 ++-- test/ScheduleOptimizer/rectangular-tiling.ll | 2 +- test/ScopDetect/aliasing_parametric_simple_1.ll | 4 +-- test/ScopDetect/aliasing_parametric_simple_2.ll | 6 ++-- test/ScopDetect/aliasing_simple_1.ll | 2 +- test/ScopDetect/aliasing_simple_2.ll | 4 +-- test/ScopDetect/base_pointer.ll | 22 ++++++------ test/ScopDetect/cross_loop_non_single_exit.ll | 4 +-- test/ScopDetect/cross_loop_non_single_exit_2.ll | 4 +-- .../dependency_to_phi_node_outside_of_region.ll | 4 +-- test/ScopDetect/indvars.ll | 2 +- test/ScopDetect/intrinsics_1.ll | 4 +-- test/ScopDetect/intrinsics_2.ll | 8 ++--- test/ScopDetect/intrinsics_3.ll | 8 ++--- test/ScopDetect/invalidate_scalar_evolution.ll | 2 +- test/ScopDetect/keep_going_expansion.ll | 8 ++--- ...tidim_two_accesses_different_delinearization.ll | 4 +-- test/ScopDetect/nested_loop_single_exit.ll | 2 +- test/ScopDetect/non-affine-conditional.ll | 4 +-- test/ScopDetect/non-affine-float-compare.ll | 6 ++-- test/ScopDetect/parametric-multiply-in-scev.ll | 2 +- test/ScopDetect/remove_all_children.ll | 4 +-- test/ScopDetect/report-scop-location.ll | 4 +-- test/ScopDetect/run_time_alias_check.ll | 2 +- test/ScopDetect/sequential_loops.ll | 8 ++--- test/ScopDetect/simple_loop.ll | 2 +- test/ScopDetect/simple_loop_non_single_entry.ll | 2 +- test/ScopDetect/simple_loop_non_single_exit.ll | 2 +- test/ScopDetect/simple_loop_non_single_exit_2.ll | 2 +- test/ScopDetect/simple_loop_two_phi_nodes.ll | 2 +- test/ScopDetect/simple_loop_with_param.ll | 2 +- test/ScopDetect/simple_loop_with_param_2.ll | 2 +- test/ScopDetect/simple_non_single_entry.ll | 2 +- test/ScopDetect/skip_function_attribute.ll | 4 +-- test/ScopDetectionDiagnostics/ReportAlias-01.ll | 4 +-- .../ReportDifferentElementSize.ll | 4 +-- test/ScopDetectionDiagnostics/ReportFuncCall-01.ll | 2 +- .../ScopDetectionDiagnostics/ReportLoopBound-01.ll | 4 +-- .../ReportMultipleNonAffineAccesses.ll | 16 ++++----- .../ReportNonAffineAccess-01.ll | 2 +- .../ScopDetectionDiagnostics/ReportUnprofitable.ll | 4 +-- .../ReportVariantBasePtr-01.ll | 10 +++--- test/ScopInfo/20111108-Parameter-not-detected.ll | 2 +- ...2012-03-16-Crash-because-of-unsigned-in-scev.ll | 2 +- test/ScopInfo/Alias-0.ll | 6 ++-- test/ScopInfo/Alias-1.ll | 8 ++--- test/ScopInfo/Alias-2.ll | 12 +++---- test/ScopInfo/Alias-3.ll | 4 +-- test/ScopInfo/Alias-4.ll | 4 +-- .../NonAffine/non_affine_access_with_range.ll | 2 +- .../NonAffine/non_affine_access_with_range_2.ll | 2 +- test/ScopInfo/NonAffine/non_affine_but_sdiv.ll | 6 ++-- .../NonAffine/non_affine_conditional_nested.ll | 8 ++--- .../ScopInfo/NonAffine/non_affine_float_compare.ll | 6 ++-- .../aliasing_conditional_alias_groups_1.ll | 8 ++--- .../aliasing_conditional_alias_groups_2.ll | 8 ++--- test/ScopInfo/aliasing_dead_access.ll | 4 +-- .../aliasing_many_parameters_not_all_involved.ll | 32 ++++++++--------- test/ScopInfo/aliasing_multiple_alias_groups.ll | 8 ++--- test/ScopInfo/assume_gep_bounds.ll | 2 +- test/ScopInfo/assume_gep_bounds_2.ll | 4 +-- test/ScopInfo/bug_2011_1_5.ll | 2 +- test/ScopInfo/bug_scev_not_fully_eval.ll | 2 +- test/ScopInfo/cond_constant_in_loop.ll | 4 +-- test/ScopInfo/cond_in_loop.ll | 4 +-- test/ScopInfo/constant_start_integer.ll | 4 +-- .../ScopInfo/delinearize-together-all-data-refs.ll | 4 +-- .../independent-blocks-never-stop-on-big-scop.ll | 4 +-- test/ScopInfo/integers.ll | 12 +++---- test/ScopInfo/isl_aff_out_of_bounds.ll | 2 +- test/ScopInfo/loop_affine_bound_0.ll | 2 +- test/ScopInfo/loop_affine_bound_1.ll | 2 +- test/ScopInfo/loop_affine_bound_2.ll | 2 +- test/ScopInfo/loop_carry.ll | 6 ++-- test/ScopInfo/max-loop-depth.ll | 4 +-- test/ScopInfo/multi-scop.ll | 2 +- test/ScopInfo/multidim_2d-diagonal-matrix.ll | 2 +- .../multidim_2d_outer_parametric_offset.ll | 2 +- ...tidim_2d_parametric_array_static_loop_bounds.ll | 2 +- ...tidim_3d_parametric_array_static_loop_bounds.ll | 2 +- .../multidim_ivs_and_integer_offsets_3d.ll | 2 +- .../multidim_ivs_and_parameteric_offsets_3d.ll | 2 +- test/ScopInfo/multidim_nested_start_integer.ll | 2 +- .../multidim_nested_start_share_parameter.ll | 4 +-- test/ScopInfo/multidim_only_ivs_2d.ll | 2 +- test/ScopInfo/multidim_only_ivs_3d.ll | 2 +- test/ScopInfo/multidim_only_ivs_3d_cast.ll | 2 +- test/ScopInfo/multidim_only_ivs_3d_reverse.ll | 2 +- .../ScopInfo/multidim_single_and_multidim_array.ll | 4 +-- test/ScopInfo/non_affine_access.ll | 2 +- test/ScopInfo/non_affine_parametric_loop.ll | 4 +-- 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 +- test/ScopInfo/phi_loop_carried_float.ll | 2 +- test/ScopInfo/phi_scalar_simple_1.ll | 2 +- test/ScopInfo/phi_scalar_simple_2.ll | 4 +-- test/ScopInfo/pointer-type-expressions.ll | 2 +- test/ScopInfo/ranged_parameter.ll | 2 +- test/ScopInfo/ranged_parameter_wrap.ll | 2 +- test/ScopInfo/reduction_alternating_base.ll | 2 +- test/ScopInfo/reduction_escaping_intermediate.ll | 4 +-- test/ScopInfo/reduction_escaping_intermediate_2.ll | 8 ++--- .../reduction_invalid_overlapping_accesses.ll | 4 +-- .../ScopInfo/reduction_multiple_loops_array_sum.ll | 2 +- .../reduction_multiple_loops_array_sum_1.ll | 2 +- test/ScopInfo/reduction_multiple_simple_binary.ll | 12 +++---- test/ScopInfo/reduction_non_overlapping_chains.ll | 4 +-- .../reduction_only_reduction_like_access.ll | 4 +-- test/ScopInfo/reduction_two_identical_reads.ll | 10 +++--- test/ScopInfo/run-time-check-many-parameters.ll | 26 +++++++------- test/ScopInfo/run-time-check-read-only-arrays.ll | 6 ++-- test/ScopInfo/scalar.ll | 4 +-- test/ScopInfo/scalar_dependence_cond_br.ll | 2 +- test/ScopInfo/simple_loop_1.ll | 2 +- test/ScopInfo/simple_nonaffine_loop_not.ll | 4 +-- test/ScopInfo/smax.ll | 2 +- test/ScopInfo/unsigned-condition.ll | 2 +- test/TempScop/inter_bb_scalar_dep.ll | 2 +- test/TempScop/intra_and_inter_bb_scalar_dep.ll | 2 +- test/TempScop/intra_bb_scalar_dep.ll | 2 +- test/TempScop/nested-loops.ll | 2 +- test/TempScop/not-a-reduction.ll | 6 ++-- test/TempScop/scalar_to_array.ll | 10 +++--- test/TempScop/tempscop-printing.ll | 4 +-- 296 files changed, 758 insertions(+), 758 deletions(-) diff --git a/test/CodePreparation/if_condition.ll b/test/CodePreparation/if_condition.ll index 19d5c97f..5bb25fc1 100644 --- a/test/CodePreparation/if_condition.ll +++ b/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/test/CodePreparation/multiple_loops_trivial_phis.ll b/test/CodePreparation/multiple_loops_trivial_phis.ll index 115c76f9..ae42e074 100644 --- a/test/CodePreparation/multiple_loops_trivial_phis.ll +++ b/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/test/CodePreparation/single_loop_trivial_phi.ll b/test/CodePreparation/single_loop_trivial_phi.ll index 3c1e822a..d2473216 100644 --- a/test/CodePreparation/single_loop_trivial_phi.ll +++ b/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/test/DeadCodeElimination/chained_iterations.ll b/test/DeadCodeElimination/chained_iterations.ll index 671950e7..73c43c18 100644 --- a/test/DeadCodeElimination/chained_iterations.ll +++ b/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/test/DeadCodeElimination/chained_iterations_2.ll b/test/DeadCodeElimination/chained_iterations_2.ll index 6b780ce8..e6188542 100644 --- a/test/DeadCodeElimination/chained_iterations_2.ll +++ b/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/test/DeadCodeElimination/computeout.ll b/test/DeadCodeElimination/computeout.ll index fca5d0c9..38c3e2d5 100644 --- a/test/DeadCodeElimination/computeout.ll +++ b/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/test/DeadCodeElimination/dead_iteration_elimination.ll b/test/DeadCodeElimination/dead_iteration_elimination.ll index e0118ea6..d1a2373c 100644 --- a/test/DeadCodeElimination/dead_iteration_elimination.ll +++ b/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/test/DeadCodeElimination/non-affine-affine-mix.ll b/test/DeadCodeElimination/non-affine-affine-mix.ll index bf0385ca..1b3f38bc 100644 --- a/test/DeadCodeElimination/non-affine-affine-mix.ll +++ b/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/test/DeadCodeElimination/non-affine.ll b/test/DeadCodeElimination/non-affine.ll index ec44070a..33b7ccc9 100644 --- a/test/DeadCodeElimination/non-affine.ll +++ b/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/test/DeadCodeElimination/null_schedule.ll b/test/DeadCodeElimination/null_schedule.ll index a71d3ca2..2e5b4e89 100644 --- a/test/DeadCodeElimination/null_schedule.ll +++ b/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/test/Dependences/computeout.ll b/test/Dependences/computeout.ll index d879f926..9529c46b 100644 --- a/test/Dependences/computeout.ll +++ b/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/test/Dependences/do_pluto_matmult.ll b/test/Dependences/do_pluto_matmult.ll index bfad357f..80de02d8 100644 --- a/test/Dependences/do_pluto_matmult.ll +++ b/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/test/Dependences/reduction_complex_location.ll b/test/Dependences/reduction_complex_location.ll index 6d055448..4a0a5b55 100644 --- a/test/Dependences/reduction_complex_location.ll +++ b/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/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll b/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll index c7e29dc4..515136a1 100644 --- a/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll +++ b/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/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll b/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll index 9e3bd592..6be0392e 100644 --- a/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll +++ b/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/test/Dependences/reduction_multiple_loops_array_sum.ll b/test/Dependences/reduction_multiple_loops_array_sum.ll index 333035c5..1490d654 100644 --- a/test/Dependences/reduction_multiple_loops_array_sum.ll +++ b/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/test/Dependences/reduction_multiple_loops_array_sum_2.ll b/test/Dependences/reduction_multiple_loops_array_sum_2.ll index 7e92a36e..473c8ddf 100644 --- a/test/Dependences/reduction_multiple_loops_array_sum_2.ll +++ b/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/test/Dependences/reduction_multiple_loops_array_sum_3.ll b/test/Dependences/reduction_multiple_loops_array_sum_3.ll index f7d27a2d..06cabe3a 100644 --- a/test/Dependences/reduction_multiple_loops_array_sum_3.ll +++ b/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/test/Dependences/reduction_only_reduction_like_access.ll b/test/Dependences/reduction_only_reduction_like_access.ll index ae78d7fb..a177e32e 100644 --- a/test/Dependences/reduction_only_reduction_like_access.ll +++ b/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/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll b/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll index e69c7028..fa01f9a7 100644 --- a/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll +++ b/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/test/Dependences/reduction_privatization_deps.ll b/test/Dependences/reduction_privatization_deps.ll index 1d1bb1e0..8d75db9c 100644 --- a/test/Dependences/reduction_privatization_deps.ll +++ b/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/test/Dependences/reduction_privatization_deps_2.ll b/test/Dependences/reduction_privatization_deps_2.ll index bf2b9c55..60fc54f9 100644 --- a/test/Dependences/reduction_privatization_deps_2.ll +++ b/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/test/Dependences/reduction_privatization_deps_3.ll b/test/Dependences/reduction_privatization_deps_3.ll index 66b9ccd7..7c6dee9d 100644 --- a/test/Dependences/reduction_privatization_deps_3.ll +++ b/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/test/Dependences/reduction_privatization_deps_4.ll b/test/Dependences/reduction_privatization_deps_4.ll index bfececb4..84d1a140 100644 --- a/test/Dependences/reduction_privatization_deps_4.ll +++ b/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/test/Dependences/reduction_privatization_deps_5.ll b/test/Dependences/reduction_privatization_deps_5.ll index eb4e4fb9..f4a3b796 100644 --- a/test/Dependences/reduction_privatization_deps_5.ll +++ b/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/test/Dependences/reduction_two_reductions_different_rloops.ll b/test/Dependences/reduction_two_reductions_different_rloops.ll index d57bb207..919fdebf 100644 --- a/test/Dependences/reduction_two_reductions_different_rloops.ll +++ b/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/test/Dependences/sequential_loops.ll b/test/Dependences/sequential_loops.ll index e4d53531..befec3eb 100644 --- a/test/Dependences/sequential_loops.ll +++ b/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/test/IndependentBlocks/inter_bb_scalar_dep.ll b/test/IndependentBlocks/inter_bb_scalar_dep.ll index 9891cd18..d18cc511 100644 --- a/test/IndependentBlocks/inter_bb_scalar_dep.ll +++ b/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/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll b/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll index 4ff69725..c17fc09d 100644 --- a/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll +++ b/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/test/IndependentBlocks/intra_bb_scalar_dep.ll b/test/IndependentBlocks/intra_bb_scalar_dep.ll index 8dc7e0d8..07d8b818 100644 --- a/test/IndependentBlocks/intra_bb_scalar_dep.ll +++ b/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/test/IndependentBlocks/scalar_to_array.ll b/test/IndependentBlocks/scalar_to_array.ll index 262a920b..39672c12 100644 --- a/test/IndependentBlocks/scalar_to_array.ll +++ b/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/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll b/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll index 3a1f7a9e..5b51ce05 100644 --- a/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll +++ b/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/test/Isl/Ast/OpenMP/nested_loop_both_parallel.ll b/test/Isl/Ast/OpenMP/nested_loop_both_parallel.ll index 1dde52ee..d8eb5f8b 100644 --- a/test/Isl/Ast/OpenMP/nested_loop_both_parallel.ll +++ b/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/test/Isl/Ast/OpenMP/nested_loop_both_parallel_parametric.ll b/test/Isl/Ast/OpenMP/nested_loop_both_parallel_parametric.ll index 832521c3..912ff2d7 100644 --- a/test/Isl/Ast/OpenMP/nested_loop_both_parallel_parametric.ll +++ b/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/test/Isl/Ast/OpenMP/nested_loop_inner_parallel.ll b/test/Isl/Ast/OpenMP/nested_loop_inner_parallel.ll index 0f6471bf..8fa45ccb 100644 --- a/test/Isl/Ast/OpenMP/nested_loop_inner_parallel.ll +++ b/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/test/Isl/Ast/OpenMP/nested_loop_outer_parallel.ll b/test/Isl/Ast/OpenMP/nested_loop_outer_parallel.ll index a411b5ff..6e0a0af2 100644 --- a/test/Isl/Ast/OpenMP/nested_loop_outer_parallel.ll +++ b/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/test/Isl/Ast/OpenMP/single_loop_param_non_parallel.ll b/test/Isl/Ast/OpenMP/single_loop_param_non_parallel.ll index e36bfeaf..70af1fbf 100644 --- a/test/Isl/Ast/OpenMP/single_loop_param_non_parallel.ll +++ b/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/test/Isl/Ast/OpenMP/single_loop_param_parallel.ll b/test/Isl/Ast/OpenMP/single_loop_param_parallel.ll index b93f7ca2..b769a19e 100644 --- a/test/Isl/Ast/OpenMP/single_loop_param_parallel.ll +++ b/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/test/Isl/Ast/OpenMP/single_loop_param_parallel_computeout.ll b/test/Isl/Ast/OpenMP/single_loop_param_parallel_computeout.ll index cb1bf2d0..3740b27a 100644 --- a/test/Isl/Ast/OpenMP/single_loop_param_parallel_computeout.ll +++ b/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/test/Isl/Ast/alias_simple_1.ll b/test/Isl/Ast/alias_simple_1.ll index 9224b0ab..fbcd7b46 100644 --- a/test/Isl/Ast/alias_simple_1.ll +++ b/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/test/Isl/Ast/alias_simple_2.ll b/test/Isl/Ast/alias_simple_2.ll index ca32c824..2bbc8dee 100644 --- a/test/Isl/Ast/alias_simple_2.ll +++ b/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/test/Isl/Ast/alias_simple_3.ll b/test/Isl/Ast/alias_simple_3.ll index 493671d7..58d6553d 100644 --- a/test/Isl/Ast/alias_simple_3.ll +++ b/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/test/Isl/Ast/aliasing_multiple_alias_groups.ll b/test/Isl/Ast/aliasing_multiple_alias_groups.ll index 146fdc97..c0ca608d 100644 --- a/test/Isl/Ast/aliasing_multiple_alias_groups.ll +++ b/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/test/Isl/Ast/aliasing_parametric_simple_1.ll b/test/Isl/Ast/aliasing_parametric_simple_1.ll index e46551b4..8f3154d1 100644 --- a/test/Isl/Ast/aliasing_parametric_simple_1.ll +++ b/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/test/Isl/Ast/aliasing_parametric_simple_2.ll b/test/Isl/Ast/aliasing_parametric_simple_2.ll index d3fb528c..bd2e126f 100644 --- a/test/Isl/Ast/aliasing_parametric_simple_2.ll +++ b/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/test/Isl/Ast/dependence_distance_constant.ll b/test/Isl/Ast/dependence_distance_constant.ll index fa17ee50..ecdd4d92 100644 --- a/test/Isl/Ast/dependence_distance_constant.ll +++ b/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/test/Isl/Ast/dependence_distance_multiple_constant.ll b/test/Isl/Ast/dependence_distance_multiple_constant.ll index 18e1b8d7..32f9d4c9 100644 --- a/test/Isl/Ast/dependence_distance_multiple_constant.ll +++ b/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/test/Isl/Ast/dependence_distance_parametric.ll b/test/Isl/Ast/dependence_distance_parametric.ll index 66f4be46..43b38b54 100644 --- a/test/Isl/Ast/dependence_distance_parametric.ll +++ b/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/test/Isl/Ast/dependence_distance_parametric_expr.ll b/test/Isl/Ast/dependence_distance_parametric_expr.ll index 52d64c49..6cfd91eb 100644 --- a/test/Isl/Ast/dependence_distance_parametric_expr.ll +++ b/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/test/Isl/Ast/dependence_distance_varying.ll b/test/Isl/Ast/dependence_distance_varying.ll index 82b8a8f2..a66ed917 100644 --- a/test/Isl/Ast/dependence_distance_varying.ll +++ b/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/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll b/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll index 181cd3d2..867d4f8e 100644 --- a/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll +++ b/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/test/Isl/Ast/dependence_distance_varying_multiple.ll b/test/Isl/Ast/dependence_distance_varying_multiple.ll index 8b346471..81def72f 100644 --- a/test/Isl/Ast/dependence_distance_varying_multiple.ll +++ b/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/test/Isl/Ast/reduction_clauses_multidimensional_access.ll b/test/Isl/Ast/reduction_clauses_multidimensional_access.ll index 5d74d0b5..8d405b5d 100644 --- a/test/Isl/Ast/reduction_clauses_multidimensional_access.ll +++ b/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/test/Isl/Ast/reduction_clauses_onedimensional_access.ll b/test/Isl/Ast/reduction_clauses_onedimensional_access.ll index 0cec4487..0c24573c 100644 --- a/test/Isl/Ast/reduction_clauses_onedimensional_access.ll +++ b/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/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll b/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll index 0e77e792..b7c78aab 100644 --- a/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll +++ b/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/test/Isl/Ast/reduction_in_one_dimension.ll b/test/Isl/Ast/reduction_in_one_dimension.ll index 8b14dc98..5aec5835 100644 --- a/test/Isl/Ast/reduction_in_one_dimension.ll +++ b/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/test/Isl/Ast/reduction_loop_reversal.ll b/test/Isl/Ast/reduction_loop_reversal.ll index 2ab9714c..81a53e18 100644 --- a/test/Isl/Ast/reduction_loop_reversal.ll +++ b/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/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll b/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll index 650cec99..1e20b96f 100644 --- a/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll +++ b/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/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll b/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll index 3b8599b1..c19946ad 100644 --- a/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll +++ b/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/test/Isl/Ast/reduction_modulo_schedule.ll b/test/Isl/Ast/reduction_modulo_schedule.ll index 4ea03cfa..c1fa7c82 100644 --- a/test/Isl/Ast/reduction_modulo_schedule.ll +++ b/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/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll b/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll index a66d31a9..3571b8fd 100644 --- a/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll +++ b/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/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll b/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll index a03d9ebc..bb1db3b1 100644 --- a/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll +++ b/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/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll b/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll index 4eafd441..ec086cca 100644 --- a/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll +++ b/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/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll b/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll index 6130dff8..9358ffe8 100644 --- a/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll +++ b/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/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll b/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll index 4a6dbceb..8c47cde8 100644 --- a/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll +++ b/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/test/Isl/Ast/reduction_multiple_dimensions.ll b/test/Isl/Ast/reduction_multiple_dimensions.ll index c4ebe899..24e64675 100644 --- a/test/Isl/Ast/reduction_multiple_dimensions.ll +++ b/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/test/Isl/Ast/reduction_multiple_dimensions_2.ll b/test/Isl/Ast/reduction_multiple_dimensions_2.ll index 648d21a8..ad51156f 100644 --- a/test/Isl/Ast/reduction_multiple_dimensions_2.ll +++ b/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/test/Isl/Ast/reduction_multiple_dimensions_3.ll b/test/Isl/Ast/reduction_multiple_dimensions_3.ll index e87e12e5..bde76439 100644 --- a/test/Isl/Ast/reduction_multiple_dimensions_3.ll +++ b/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/test/Isl/Ast/reduction_multiple_dimensions_4.ll b/test/Isl/Ast/reduction_multiple_dimensions_4.ll index 8acaece6..0c585a4a 100644 --- a/test/Isl/Ast/reduction_multiple_dimensions_4.ll +++ b/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/test/Isl/Ast/run-time-condition.ll b/test/Isl/Ast/run-time-condition.ll index 8c7dbf81..36bc820b 100644 --- a/test/Isl/Ast/run-time-condition.ll +++ b/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/test/Isl/Ast/simple-run-time-condition.ll b/test/Isl/Ast/simple-run-time-condition.ll index a2257f80..7138f58d 100644 --- a/test/Isl/Ast/simple-run-time-condition.ll +++ b/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/test/Isl/Ast/single_loop_strip_mine.ll b/test/Isl/Ast/single_loop_strip_mine.ll index 252055fd..5977702a 100644 --- a/test/Isl/Ast/single_loop_strip_mine.ll +++ b/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/test/Isl/CodeGen/20100707_2.ll b/test/Isl/CodeGen/20100707_2.ll index 21673dcd..03128ad7 100644 --- a/test/Isl/CodeGen/20100707_2.ll +++ b/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/test/Isl/CodeGen/20100713_2.ll b/test/Isl/CodeGen/20100713_2.ll index 7ffeec8d..5a4b7a54 100644 --- a/test/Isl/CodeGen/20100713_2.ll +++ b/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/test/Isl/CodeGen/20100717.ll b/test/Isl/CodeGen/20100717.ll index 61f9136f..9fd3a753 100644 --- a/test/Isl/CodeGen/20100717.ll +++ b/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/test/Isl/CodeGen/20100720-MultipleConditions.ll b/test/Isl/CodeGen/20100720-MultipleConditions.ll index f8d7159c..3d1781ea 100644 --- a/test/Isl/CodeGen/20100720-MultipleConditions.ll +++ b/test/Isl/CodeGen/20100720-MultipleConditions.ll @@ -37,7 +37,7 @@ define i32 @main() nounwind { ;