summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/test/CodePreparation/multiple_loops_trivial_phis.ll2
-rw-r--r--polly/test/CodePreparation/single_loop_trivial_phi.ll2
-rw-r--r--polly/test/DeadCodeElimination/chained_iterations_2.ll2
-rw-r--r--polly/test/DeadCodeElimination/dead_iteration_elimination.ll2
-rw-r--r--polly/test/DeadCodeElimination/null_schedule.ll4
-rw-r--r--polly/test/Dependences/do_pluto_matmult.ll6
-rw-r--r--polly/test/Dependences/reduction_complex_location.ll2
-rw-r--r--polly/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll8
-rw-r--r--polly/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll2
-rw-r--r--polly/test/Dependences/reduction_multiple_loops_array_sum.ll6
-rw-r--r--polly/test/Dependences/reduction_multiple_loops_array_sum_2.ll4
-rw-r--r--polly/test/Dependences/reduction_multiple_loops_array_sum_3.ll10
-rw-r--r--polly/test/Dependences/reduction_multiple_reductions.ll4
-rw-r--r--polly/test/Dependences/reduction_multiple_reductions_2.ll8
-rw-r--r--polly/test/Dependences/reduction_only_reduction_like_access.ll2
-rw-r--r--polly/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll4
-rw-r--r--polly/test/Dependences/reduction_privatization_deps.ll4
-rw-r--r--polly/test/Dependences/reduction_privatization_deps_2.ll6
-rw-r--r--polly/test/Dependences/reduction_privatization_deps_3.ll6
-rw-r--r--polly/test/Dependences/reduction_privatization_deps_4.ll6
-rw-r--r--polly/test/Dependences/reduction_privatization_deps_5.ll4
-rw-r--r--polly/test/Dependences/reduction_simple_iv.ll2
-rw-r--r--polly/test/Dependences/reduction_simple_iv_debug_wrapped_dependences.ll2
-rw-r--r--polly/test/Dependences/reduction_simple_privatization_deps_2.ll6
-rw-r--r--polly/test/Dependences/reduction_simple_privatization_deps_w_parameter.ll4
-rw-r--r--polly/test/Dependences/reduction_two_reductions_different_rloops.ll8
-rw-r--r--polly/test/Dependences/sequential_loops.ll6
-rw-r--r--polly/test/IndependentBlocks/inter_bb_scalar_dep.ll4
-rw-r--r--polly/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll10
-rw-r--r--polly/test/IndependentBlocks/intra_bb_scalar_dep.ll2
-rw-r--r--polly/test/IndependentBlocks/phi_outside_scop.ll2
-rw-r--r--polly/test/IndependentBlocks/scalar_to_array.ll18
-rw-r--r--polly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll2
-rw-r--r--polly/test/Isl/Ast/alias_simple_1.ll2
-rw-r--r--polly/test/Isl/Ast/alias_simple_2.ll2
-rw-r--r--polly/test/Isl/Ast/alias_simple_3.ll2
-rw-r--r--polly/test/Isl/Ast/aliasing_multiple_alias_groups.ll4
-rw-r--r--polly/test/Isl/Ast/aliasing_parametric_simple_1.ll2
-rw-r--r--polly/test/Isl/Ast/aliasing_parametric_simple_2.ll4
-rw-r--r--polly/test/Isl/Ast/dependence_distance_constant.ll2
-rw-r--r--polly/test/Isl/Ast/dependence_distance_multiple_constant.ll4
-rw-r--r--polly/test/Isl/Ast/dependence_distance_parametric.ll2
-rw-r--r--polly/test/Isl/Ast/dependence_distance_parametric_expr.ll2
-rw-r--r--polly/test/Isl/Ast/dependence_distance_varying.ll2
-rw-r--r--polly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll2
-rw-r--r--polly/test/Isl/Ast/dependence_distance_varying_multiple.ll10
-rw-r--r--polly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll8
-rw-r--r--polly/test/Isl/Ast/reduction_different_reduction_clauses.ll10
-rw-r--r--polly/test/Isl/Ast/reduction_in_one_dimension.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_loop_reversal.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_modulo_schedule.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_multiple_dimensions.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_multiple_dimensions_2.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_multiple_dimensions_3.ll2
-rw-r--r--polly/test/Isl/Ast/reduction_multiple_dimensions_4.ll2
-rw-r--r--polly/test/Isl/Ast/run-time-condition.ll2
-rw-r--r--polly/test/Isl/Ast/single_loop_strip_mine.ll2
-rw-r--r--polly/test/Isl/CodeGen/20100707_2.ll12
-rw-r--r--polly/test/Isl/CodeGen/20100713.ll2
-rw-r--r--polly/test/Isl/CodeGen/20100717.ll2
-rw-r--r--polly/test/Isl/CodeGen/20100720-MultipleConditions.ll2
-rw-r--r--polly/test/Isl/CodeGen/20100809-IndependentBlock.ll2
-rw-r--r--polly/test/Isl/CodeGen/20101030-Overflow.ll2
-rw-r--r--polly/test/Isl/CodeGen/20101103-Overflow3.ll2
-rw-r--r--polly/test/Isl/CodeGen/20101103-signmissmatch.ll2
-rw-r--r--polly/test/Isl/CodeGen/20110312-Fail-without-basicaa.ll2
-rw-r--r--polly/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll4
-rw-r--r--polly/test/Isl/CodeGen/LoopParallelMD/single_loop_param_parallel.ll4
-rw-r--r--polly/test/Isl/CodeGen/MemAccess/codegen_constant_offset.ll6
-rw-r--r--polly/test/Isl/CodeGen/MemAccess/codegen_simple.ll6
-rw-r--r--polly/test/Isl/CodeGen/MemAccess/codegen_simple_float.ll6
-rw-r--r--polly/test/Isl/CodeGen/MemAccess/default_aligned_new_access_function.ll2
-rw-r--r--polly/test/Isl/CodeGen/MemAccess/simple_stride_test.ll4
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll4
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll6
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/single_loop.ll4
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll4
-rw-r--r--polly/test/Isl/CodeGen/aliasing_different_base_and_access_type.ll2
-rw-r--r--polly/test/Isl/CodeGen/aliasing_different_pointer_types.ll2
-rw-r--r--polly/test/Isl/CodeGen/aliasing_multidimensional_access.ll2
-rw-r--r--polly/test/Isl/CodeGen/aliasing_parametric_simple_1.ll2
-rw-r--r--polly/test/Isl/CodeGen/aliasing_parametric_simple_2.ll4
-rw-r--r--polly/test/Isl/CodeGen/aliasing_struct_element.ll2
-rw-r--r--polly/test/Isl/CodeGen/annotated_alias_scopes.ll12
-rw-r--r--polly/test/Isl/CodeGen/blas_sscal_simplified.ll2
-rw-r--r--polly/test/Isl/CodeGen/constant_condition.ll2
-rw-r--r--polly/test/Isl/CodeGen/intrinsics_lifetime.ll6
-rw-r--r--polly/test/Isl/CodeGen/intrinsics_misc.ll6
-rw-r--r--polly/test/Isl/CodeGen/loop_with_condition.ll6
-rw-r--r--polly/test/Isl/CodeGen/loop_with_condition_2.ll6
-rw-r--r--polly/test/Isl/CodeGen/loop_with_condition_ineq.ll6
-rw-r--r--polly/test/Isl/CodeGen/loop_with_condition_nested.ll8
-rw-r--r--polly/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll8
-rw-r--r--polly/test/Isl/CodeGen/non_affine_float_compare.ll16
-rw-r--r--polly/test/Isl/CodeGen/reduction.ll6
-rw-r--r--polly/test/Isl/CodeGen/reduction_2.ll10
-rw-r--r--polly/test/Isl/CodeGen/reduction_simple_binary.ll2
-rw-r--r--polly/test/Isl/CodeGen/run-time-condition.ll2
-rw-r--r--polly/test/Isl/CodeGen/sequential_loops.ll4
-rw-r--r--polly/test/Isl/CodeGen/simple_nonaffine_loop.ll2
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_assign_scalar.ll6
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_assign_scalar_2.ll4
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_call.ll4
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_call_2.ll4
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_cast.ll4
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_const.ll6
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_large_width.ll6
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_ptr_ptr_ty.ll4
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_stride_negative_one.ll4
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_stride_x.ll12
-rw-r--r--polly/test/Isl/CodeGen/simple_vec_two_stmts.ll10
-rw-r--r--polly/test/Isl/CodeGen/single_do_loop_int_max_iterations.ll6
-rw-r--r--polly/test/Isl/CodeGen/single_do_loop_int_param_iterations.ll2
-rw-r--r--polly/test/Isl/CodeGen/single_do_loop_ll_max_iterations.ll2
-rw-r--r--polly/test/Isl/CodeGen/single_do_loop_one_iteration.ll2
-rw-r--r--polly/test/Isl/CodeGen/single_do_loop_scev_replace.ll6
-rw-r--r--polly/test/Isl/CodeGen/single_loop.ll2
-rw-r--r--polly/test/Isl/CodeGen/single_loop_int_max_iterations.ll2
-rw-r--r--polly/test/Isl/CodeGen/single_loop_ll_max_iterations.ll2
-rw-r--r--polly/test/Isl/CodeGen/single_loop_one_iteration.ll2
-rw-r--r--polly/test/Isl/CodeGen/single_loop_param.ll2
-rw-r--r--polly/test/Isl/CodeGen/single_loop_zero_iterations.ll2
-rw-r--r--polly/test/Isl/CodeGen/test-invalid-operands-for-select-2.ll2
-rw-r--r--polly/test/Isl/CodeGen/test-invalid-operands-for-select.ll2
-rw-r--r--polly/test/Isl/CodeGen/test.ll2
-rw-r--r--polly/test/Isl/CodeGen/two-scops-in-row.ll2
-rw-r--r--polly/test/Isl/single_loop_uint_max_iterations.ll2
-rw-r--r--polly/test/Isl/single_loop_ull_max_iterations.ll2
-rw-r--r--polly/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll14
-rw-r--r--polly/test/ScheduleOptimizer/prevectorization.ll6
-rw-r--r--polly/test/ScopDetect/aliasing_parametric_simple_1.ll2
-rw-r--r--polly/test/ScopDetect/aliasing_parametric_simple_2.ll4
-rw-r--r--polly/test/ScopDetect/aliasing_simple_1.ll2
-rw-r--r--polly/test/ScopDetect/aliasing_simple_2.ll4
-rw-r--r--polly/test/ScopDetect/base_pointer.ll4
-rw-r--r--polly/test/ScopDetect/intrinsics_2.ll6
-rw-r--r--polly/test/ScopDetect/intrinsics_3.ll6
-rw-r--r--polly/test/ScopDetect/keep_going_expansion.ll4
-rw-r--r--polly/test/ScopDetect/non-affine-conditional.ll2
-rw-r--r--polly/test/ScopDetect/non-affine-float-compare.ll6
-rw-r--r--polly/test/ScopDetect/simple_loop_with_param.ll2
-rw-r--r--polly/test/ScopDetect/simple_loop_with_param_2.ll2
-rw-r--r--polly/test/ScopDetect/skip_function_attribute.ll2
-rw-r--r--polly/test/ScopDetectionDiagnostics/ReportAlias-01.ll2
-rw-r--r--polly/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll2
-rw-r--r--polly/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll4
-rw-r--r--polly/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll16
-rw-r--r--polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll2
-rw-r--r--polly/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll8
-rw-r--r--polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll2
-rw-r--r--polly/test/ScopInfo/Alias-0.ll4
-rw-r--r--polly/test/ScopInfo/Alias-1.ll4
-rw-r--r--polly/test/ScopInfo/Alias-2.ll10
-rw-r--r--polly/test/ScopInfo/Alias-3.ll2
-rw-r--r--polly/test/ScopInfo/Alias-4.ll2
-rw-r--r--polly/test/ScopInfo/NonAffine/non_affine_access_with_range.ll2
-rw-r--r--polly/test/ScopInfo/NonAffine/non_affine_access_with_range_2.ll2
-rw-r--r--polly/test/ScopInfo/NonAffine/non_affine_but_sdiv.ll4
-rw-r--r--polly/test/ScopInfo/NonAffine/non_affine_conditional_nested.ll6
-rw-r--r--polly/test/ScopInfo/NonAffine/non_affine_float_compare.ll6
-rw-r--r--polly/test/ScopInfo/aliasing_conditional_alias_groups_1.ll4
-rw-r--r--polly/test/ScopInfo/aliasing_conditional_alias_groups_2.ll4
-rw-r--r--polly/test/ScopInfo/aliasing_dead_access.ll2
-rw-r--r--polly/test/ScopInfo/aliasing_many_parameters_not_all_involved.ll30
-rw-r--r--polly/test/ScopInfo/aliasing_multiple_alias_groups.ll4
-rw-r--r--polly/test/ScopInfo/constant_start_integer.ll2
-rw-r--r--polly/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll2
-rw-r--r--polly/test/ScopInfo/isl_aff_out_of_bounds.ll4
-rw-r--r--polly/test/ScopInfo/loop_carry.ll6
-rw-r--r--polly/test/ScopInfo/max-loop-depth.ll4
-rw-r--r--polly/test/ScopInfo/non_affine_parametric_loop.ll2
-rw-r--r--polly/test/ScopInfo/phi_loop_carried_float.ll2
-rw-r--r--polly/test/ScopInfo/phi_scalar_simple_1.ll2
-rw-r--r--polly/test/ScopInfo/phi_scalar_simple_2.ll2
-rw-r--r--polly/test/ScopInfo/ranged_parameter.ll2
-rw-r--r--polly/test/ScopInfo/ranged_parameter_wrap.ll2
-rw-r--r--polly/test/ScopInfo/reduction_alternating_base.ll2
-rw-r--r--polly/test/ScopInfo/reduction_chain_partially_outside_the_scop.ll8
-rw-r--r--polly/test/ScopInfo/reduction_disabled_multiplicative.ll4
-rw-r--r--polly/test/ScopInfo/reduction_escaping_intermediate.ll2
-rw-r--r--polly/test/ScopInfo/reduction_escaping_intermediate_2.ll6
-rw-r--r--polly/test/ScopInfo/reduction_invalid_different_operators.ll10
-rw-r--r--polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll4
-rw-r--r--polly/test/ScopInfo/reduction_multiple_loops_array_sum.ll8
-rw-r--r--polly/test/ScopInfo/reduction_multiple_loops_array_sum_1.ll10
-rw-r--r--polly/test/ScopInfo/reduction_multiple_simple_binary.ll16
-rw-r--r--polly/test/ScopInfo/reduction_non_overlapping_chains.ll4
-rw-r--r--polly/test/ScopInfo/reduction_only_reduction_like_access.ll2
-rw-r--r--polly/test/ScopInfo/reduction_simple_fp.ll4
-rw-r--r--polly/test/ScopInfo/reduction_simple_w_constant.ll2
-rw-r--r--polly/test/ScopInfo/reduction_simple_w_iv.ll2
-rw-r--r--polly/test/ScopInfo/reduction_two_identical_reads.ll6
-rw-r--r--polly/test/ScopInfo/run-time-check-many-parameters.ll24
-rw-r--r--polly/test/ScopInfo/run-time-check-read-only-arrays.ll4
-rw-r--r--polly/test/ScopInfo/scalar.ll2
-rw-r--r--polly/test/ScopInfo/simple_nonaffine_loop_not.ll2
-rw-r--r--polly/test/TempScop/inter_bb_scalar_dep.ll2
-rw-r--r--polly/test/TempScop/intra_and_inter_bb_scalar_dep.ll4
-rw-r--r--polly/test/TempScop/intra_bb_scalar_dep.ll2
-rw-r--r--polly/test/TempScop/not-a-reduction.ll4
-rw-r--r--polly/test/TempScop/scalar_to_array.ll6
-rw-r--r--polly/test/TempScop/tempscop-printing.ll4
211 files changed, 459 insertions, 459 deletions
diff --git a/polly/test/CodePreparation/multiple_loops_trivial_phis.ll b/polly/test/CodePreparation/multiple_loops_trivial_phis.ll
index ae42e07492d..503ab18f52e 100644
--- a/polly/test/CodePreparation/multiple_loops_trivial_phis.ll
+++ b/polly/test/CodePreparation/multiple_loops_trivial_phis.ll
@@ -31,7 +31,7 @@ for.inc: ; preds = %for.body, %for.inc
%indvars.iv1 = phi i64 [ 0, %for.body ], [ %1, %for.inc ]
%0 = add i64 %indvars.iv23, %indvars.iv1
%arrayidx = getelementptr i32, i32* %A, i64 %0
- %tmp5 = load i32* %arrayidx, align 4
+ %tmp5 = load i32, i32* %arrayidx, align 4
%add4 = add nsw i32 %tmp5, %sum.12
%1 = add nuw nsw i64 %indvars.iv1, 1
%exitcond5 = icmp eq i64 %1, 100
diff --git a/polly/test/CodePreparation/single_loop_trivial_phi.ll b/polly/test/CodePreparation/single_loop_trivial_phi.ll
index d2473216f62..2230170c61a 100644
--- a/polly/test/CodePreparation/single_loop_trivial_phi.ll
+++ b/polly/test/CodePreparation/single_loop_trivial_phi.ll
@@ -25,7 +25,7 @@ for.inc: ; preds = %for.inc.lr.ph, %for
%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, i32* %A, i64 %indvars.iv2
- %tmp1 = load i32* %arrayidx, align 4
+ %tmp1 = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp1, %sum.03
%indvars.iv.next = add nuw nsw i64 %indvars.iv2, 1
%exitcond = icmp ne i64 %indvars.iv.next, %0
diff --git a/polly/test/DeadCodeElimination/chained_iterations_2.ll b/polly/test/DeadCodeElimination/chained_iterations_2.ll
index e618854283c..5c2d1e14c84 100644
--- a/polly/test/DeadCodeElimination/chained_iterations_2.ll
+++ b/polly/test/DeadCodeElimination/chained_iterations_2.ll
@@ -31,7 +31,7 @@ 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], [200 x i32]* %A, i64 0, i64 %indvar.2
- %val = load i32* %arrayidx.2.a, align 4
+ %val = load i32, i32* %arrayidx.2.a, align 4
%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
diff --git a/polly/test/DeadCodeElimination/dead_iteration_elimination.ll b/polly/test/DeadCodeElimination/dead_iteration_elimination.ll
index d1a2373c9a4..4f736083abc 100644
--- a/polly/test/DeadCodeElimination/dead_iteration_elimination.ll
+++ b/polly/test/DeadCodeElimination/dead_iteration_elimination.ll
@@ -44,7 +44,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], [200 x i32]* %A, i64 0, i64 %indvar.3
- %val = load i32* %arrayidx.3, align 4
+ %val = load i32, i32* %arrayidx.3, align 4
%add = add nsw i32 %val, 5
store i32 %add, i32* %arrayidx.3, align 4
%indvar.next.3 = add i64 %indvar.3, 1
diff --git a/polly/test/DeadCodeElimination/null_schedule.ll b/polly/test/DeadCodeElimination/null_schedule.ll
index 2e5b4e89a69..c7f6e796960 100644
--- a/polly/test/DeadCodeElimination/null_schedule.ll
+++ b/polly/test/DeadCodeElimination/null_schedule.ll
@@ -25,7 +25,7 @@ for.body.1:
%indvar.next.1 = add i64 %indvar.1, 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
+ %val1.1 = load i32, i32* %A.current.1, align 4
%val2.1 = mul i32 %val1.1, 2
%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
@@ -40,7 +40,7 @@ for.body.2:
%indvar.2 = phi i64 [ 0, %exit.1 ], [ %indvar.next.2, %for.body.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
+ %val1.2 = load i32, i32* %B.current.2, align 4
%val2.2 = mul i32 %val1.2, 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
diff --git a/polly/test/Dependences/do_pluto_matmult.ll b/polly/test/Dependences/do_pluto_matmult.ll
index 80de02d8c7e..1a6c5064297 100644
--- a/polly/test/Dependences/do_pluto_matmult.ll
+++ b/polly/test/Dependences/do_pluto_matmult.ll
@@ -29,11 +29,11 @@ do.body2: ; preds = %do.cond, %do.body1
%indvar = phi i64 [ %indvar.next, %do.cond ], [ 0, %do.body1 ] ; <i64> [#uses=3]
%arrayidx13 = getelementptr [36 x [49 x double]], [36 x [49 x double]]* @A, i64 0, i64 %indvar3, i64 %indvar ; <double*> [#uses=1]
%arrayidx22 = getelementptr [36 x [49 x double]], [36 x [49 x double]]* @B, i64 0, i64 %indvar, i64 %indvar1 ; <double*> [#uses=1]
- %tmp6 = load double* %arrayidx5 ; <double> [#uses=1]
+ %tmp6 = load double, double* %arrayidx5 ; <double> [#uses=1]
%mul = fmul double 1.000000e+00, %tmp6 ; <double> [#uses=1]
- %tmp14 = load double* %arrayidx13 ; <double> [#uses=1]
+ %tmp14 = load double, double* %arrayidx13 ; <double> [#uses=1]
%mul15 = fmul double 1.000000e+00, %tmp14 ; <double> [#uses=1]
- %tmp23 = load double* %arrayidx22 ; <double> [#uses=1]
+ %tmp23 = load double, double* %arrayidx22 ; <double> [#uses=1]
%mul24 = fmul double %mul15, %tmp23 ; <double> [#uses=1]
%add = fadd double %mul, %mul24 ; <double> [#uses=1]
store double %add, double* %arrayidx5
diff --git a/polly/test/Dependences/reduction_complex_location.ll b/polly/test/Dependences/reduction_complex_location.ll
index 4a0a5b55cdf..7ae741c95b5 100644
--- a/polly/test/Dependences/reduction_complex_location.ll
+++ b/polly/test/Dependences/reduction_complex_location.ll
@@ -38,7 +38,7 @@ for.body3: ; preds = %for.cond1
%mul4 = shl nsw i32 %j.0, 1
%add = add nsw i32 %i.0, %mul4
%arrayidx = getelementptr inbounds i32, i32* %sum, i32 %add
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add5 = add nsw i32 %tmp, %mul
store i32 %add5, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll b/polly/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll
index 515136a174f..5e23534c160 100644
--- a/polly/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll
+++ b/polly/test/Dependences/reduction_dependences_equal_non_reduction_dependences.ll
@@ -34,21 +34,21 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%sub = add nsw i32 %i.0, -1
%arrayidx1 = getelementptr inbounds i32, i32* %A, i32 %sub
- %tmp1 = load i32* %arrayidx1, align 4
+ %tmp1 = load i32, i32* %arrayidx1, align 4
%add = add nsw i32 %tmp, %tmp1
%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, i32* %A, i32 %sub4
- %tmp2 = load i32* %arrayidx5, align 4
+ %tmp2 = load i32, i32* %arrayidx5, align 4
%add6 = add nsw i32 %add, %tmp2
%sub7 = add nsw i32 %i.0, -1
%arrayidx8 = getelementptr inbounds i32, i32* %A, i32 %sub7
store i32 %add6, i32* %arrayidx8, align 4
- %tmp3 = load i32* %sum, align 4
+ %tmp3 = load i32, i32* %sum, align 4
%add9 = add nsw i32 %tmp3, %i.0
store i32 %add9, i32* %sum, align 4
br label %for.inc
diff --git a/polly/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll b/polly/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll
index 6be0392e8b8..9c1d77a0ce3 100644
--- a/polly/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll
+++ b/polly/test/Dependences/reduction_mixed_reduction_and_non_reduction_dependences.ll
@@ -36,7 +36,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %sum, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 3
%add4 = add nsw i32 %i.0, %j.0
%arrayidx5 = getelementptr inbounds i32, i32* %sum, i32 %add4
diff --git a/polly/test/Dependences/reduction_multiple_loops_array_sum.ll b/polly/test/Dependences/reduction_multiple_loops_array_sum.ll
index 1490d6540ee..e698040ac08 100644
--- a/polly/test/Dependences/reduction_multiple_loops_array_sum.ll
+++ b/polly/test/Dependences/reduction_multiple_loops_array_sum.ll
@@ -27,7 +27,7 @@ for.cond: ; preds = %for.inc11, %entry
br i1 %exitcond2, label %for.body, label %for.end13
for.body: ; preds = %for.cond
- %tmp = load i32* %sum, align 4
+ %tmp = load i32, i32* %sum, align 4
%mul = mul nsw i32 %tmp, 7
store i32 %mul, i32* %sum, align 4
br label %for.cond1
@@ -40,8 +40,8 @@ for.cond1: ; preds = %for.inc8, %for.body
for.body3: ; preds = %for.cond1
%add = add nsw i32 %i.0, %j.0
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %add
- %tmp3 = load i32* %arrayidx, align 4
- %tmp4 = load i32* %sum, align 4
+ %tmp3 = load i32, i32* %arrayidx, align 4
+ %tmp4 = load i32, i32* %sum, align 4
%add4 = add nsw i32 %tmp4, %tmp3
store i32 %add4, i32* %sum, align 4
br label %for.cond5
diff --git a/polly/test/Dependences/reduction_multiple_loops_array_sum_2.ll b/polly/test/Dependences/reduction_multiple_loops_array_sum_2.ll
index 473c8ddf325..b2897d3487c 100644
--- a/polly/test/Dependences/reduction_multiple_loops_array_sum_2.ll
+++ b/polly/test/Dependences/reduction_multiple_loops_array_sum_2.ll
@@ -42,8 +42,8 @@ for.cond1: ; preds = %for.inc8, %for.body
for.body3: ; preds = %for.cond1
%add = add nsw i32 %i.0, %j.0
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %add
- %tmp3 = load i32* %arrayidx, align 4
- %tmp4 = load i32* %sum, align 4
+ %tmp3 = load i32, i32* %arrayidx, align 4
+ %tmp4 = load i32, i32* %sum, align 4
%add4 = add nsw i32 %tmp4, %tmp3
store i32 %add4, i32* %sum, align 4
br label %for.cond5
diff --git a/polly/test/Dependences/reduction_multiple_loops_array_sum_3.ll b/polly/test/Dependences/reduction_multiple_loops_array_sum_3.ll
index 06cabe3ade9..054bab778ec 100644
--- a/polly/test/Dependences/reduction_multiple_loops_array_sum_3.ll
+++ b/polly/test/Dependences/reduction_multiple_loops_array_sum_3.ll
@@ -40,17 +40,17 @@ for.body_outer: ; preds = %for.body_outer_spli
for.body: ; preds = %for.inc5, %for.body_outer
%indvars.iv23 = phi i64 [ 0, %for.body_outer ], [ %3, %for.inc5 ]
- %sum.04.reload = load i32* %sum.04.reg2mem
+ %sum.04.reload = load i32, i32* %sum.04.reg2mem
%mul = shl nsw i32 %sum.04.reload, 1
store i32 %mul, i32* %sum.12.reg2mem
br label %for.inc
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
+ %sum.12.reload = load i32, i32* %sum.12.reg2mem
%0 = add i64 %indvars.iv23, %indvars.iv1
%arrayidx = getelementptr i32, i32* %A, i64 %0
- %tmp5 = load i32* %arrayidx, align 4
+ %tmp5 = load i32, i32* %arrayidx, align 4
%add4 = add nsw i32 %tmp5, %sum.12.reload
%1 = add nuw nsw i64 %indvars.iv1, 1
%exitcond1 = icmp eq i64 %1, 100
@@ -58,7 +58,7 @@ for.inc: ; preds = %for.inc, %for.body
br i1 %exitcond1, label %for.inc5, label %for.inc
for.inc5: ; preds = %for.inc
- %2 = load i32* %sum.12.reg2mem
+ %2 = load i32, i32* %sum.12.reg2mem
%3 = add nuw nsw i64 %indvars.iv23, 1
%exitcond2 = icmp eq i64 %3, 100
store i32 %2, i32* %sum.04.reg2mem
@@ -68,6 +68,6 @@ for.bos2:
br label %for.body_outer_split
for.end7: ; preds = %for.inc5
- %4 = load i32* %sum.04.reg2mem
+ %4 = load i32, i32* %sum.04.reg2mem
ret i32 %4
}
diff --git a/polly/test/Dependences/reduction_multiple_reductions.ll b/polly/test/Dependences/reduction_multiple_reductions.ll
index caac9f3104e..c023b2a8617 100644
--- a/polly/test/Dependences/reduction_multiple_reductions.ll
+++ b/polly/test/Dependences/reduction_multiple_reductions.ll
@@ -36,13 +36,13 @@ for.body: ; preds = %for.cond
br i1 %cmp1, label %if.then, label %if.else
if.then: ; preds = %for.body
- %tmp = load i32* %sum, align 4
+ %tmp = load i32, i32* %sum, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %sum, align 4
br label %if.end
if.else: ; preds = %for.body
- %tmp1 = load i32* %prod, align 4
+ %tmp1 = load i32, i32* %prod, align 4
%mul = mul nsw i32 %tmp1, %i.0
store i32 %mul, i32* %prod, align 4
br label %if.end
diff --git a/polly/test/Dependences/reduction_multiple_reductions_2.ll b/polly/test/Dependences/reduction_multiple_reductions_2.ll
index 1cc4cafc82b..812a20e434b 100644
--- a/polly/test/Dependences/reduction_multiple_reductions_2.ll
+++ b/polly/test/Dependences/reduction_multiple_reductions_2.ll
@@ -46,7 +46,7 @@ for.body: ; preds = %for.cond
br label %S0
S0: ; preds = %for.body
- %tmp = load i32* %red, align 4
+ %tmp = load i32, i32* %red, align 4
%mul = mul nsw i32 %tmp, 5
%add = add nsw i32 %mul, 42
store i32 %add, i32* %red, align 4
@@ -61,7 +61,7 @@ for.body3: ; preds = %for.cond1
br label %S1
S1: ; preds = %for.body3
- %tmp3 = load i32* %red, align 4
+ %tmp3 = load i32, i32* %red, align 4
%mul4 = mul nsw i32 %tmp3, %i.0
store i32 %mul4, i32* %red, align 4
br label %for.inc
@@ -82,7 +82,7 @@ for.body8: ; preds = %for.cond6
br label %S2
S2: ; preds = %for.body8
- %tmp4 = load i32* %red, align 4
+ %tmp4 = load i32, i32* %red, align 4
%add9 = add nsw i32 %tmp4, %i5.0
store i32 %add9, i32* %red, align 4
br label %for.inc10
@@ -95,7 +95,7 @@ for.end12: ; preds = %for.cond6
br label %S3
S3: ; preds = %for.end12
- %tmp5 = load i32* %red, align 4
+ %tmp5 = load i32, i32* %red, align 4
%mul13 = mul nsw i32 %tmp5, 7
%add14 = add nsw i32 %mul13, 42
store i32 %add14, i32* %red, align 4
diff --git a/polly/test/Dependences/reduction_only_reduction_like_access.ll b/polly/test/Dependences/reduction_only_reduction_like_access.ll
index a177e32e574..fcf1e8b7ef1 100644
--- a/polly/test/Dependences/reduction_only_reduction_like_access.ll
+++ b/polly/test/Dependences/reduction_only_reduction_like_access.ll
@@ -29,7 +29,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%sub = sub nsw i32 99, %i.0
%arrayidx = getelementptr inbounds i32, i32* %sum, i32 %sub
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
%arrayidx1 = getelementptr inbounds i32, i32* %sum, i32 %i.0
store i32 %add, i32* %arrayidx1, align 4
diff --git a/polly/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll b/polly/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll
index fa01f9a7809..063aef354ca 100644
--- a/polly/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll
+++ b/polly/test/Dependences/reduction_partially_escaping_intermediate_in_other_stmt.ll
@@ -33,7 +33,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %sums, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 5
store i32 %add, i32* %arrayidx, align 4
%sub = sub nsw i32 %N, %i.0
@@ -43,7 +43,7 @@ for.body3: ; preds = %for.cond1
if.then: ; preds = %for.body3
%arrayidx6 = getelementptr inbounds i32, i32* %sums, i32 %i.0
- %tmp2 = load i32* %arrayidx6, align 4
+ %tmp2 = load i32, i32* %arrayidx6, align 4
%sub7 = sub nsw i32 %N, %i.0
%add8 = add nsw i32 %sub7, %j.0
%arrayidx9 = getelementptr inbounds i32, i32* %escape, i32 %add8
diff --git a/polly/test/Dependences/reduction_privatization_deps.ll b/polly/test/Dependences/reduction_privatization_deps.ll
index 8d75db9c389..bc7fe45ebe7 100644
--- a/polly/test/Dependences/reduction_privatization_deps.ll
+++ b/polly/test/Dependences/reduction_privatization_deps.ll
@@ -66,7 +66,7 @@ for.body7: ; preds = %for.cond5
S1: ; preds = %for.body7
%add = add nsw i32 %i1.0, %j.0
%arrayidx8 = getelementptr inbounds i32, i32* %sum, i32 %add
- %tmp = load i32* %arrayidx8, align 4
+ %tmp = load i32, i32* %arrayidx8, align 4
%add9 = add nsw i32 %tmp, %i1.0
store i32 %add9, i32* %arrayidx8, align 4
br label %for.inc10
@@ -96,7 +96,7 @@ for.body19: ; preds = %for.cond17
S2: ; preds = %for.body19
%add20 = add nsw i32 %i16.0, 1
%arrayidx21 = getelementptr inbounds i32, i32* %sum, i32 %add20
- %tmp4 = load i32* %arrayidx21, align 4
+ %tmp4 = load i32, i32* %arrayidx21, align 4
%mul = mul nsw i32 %tmp4, 3
%arrayidx22 = getelementptr inbounds i32, i32* %sum, i32 %i16.0
store i32 %mul, i32* %arrayidx22, align 4
diff --git a/polly/test/Dependences/reduction_privatization_deps_2.ll b/polly/test/Dependences/reduction_privatization_deps_2.ll
index 60fc54f9495..aaee4afad6f 100644
--- a/polly/test/Dependences/reduction_privatization_deps_2.ll
+++ b/polly/test/Dependences/reduction_privatization_deps_2.ll
@@ -41,7 +41,7 @@ for.body: ; preds = %for.cond
S1: ; preds = %for.body
%add = add nsw i32 %i.0, 1
%arrayidx = getelementptr inbounds i32, i32* %sum, i32 %add
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add1 = add nsw i32 %tmp, 42
store i32 %add1, i32* %arrayidx, align 4
br label %for.cond2
@@ -57,7 +57,7 @@ for.body4: ; preds = %for.cond2
S2: ; preds = %for.body4
%mul = mul nsw i32 %i.0, %j.0
%arrayidx5 = getelementptr inbounds i32, i32* %sum, i32 %i.0
- %tmp2 = load i32* %arrayidx5, align 4
+ %tmp2 = load i32, i32* %arrayidx5, align 4
%add6 = add nsw i32 %tmp2, %mul
store i32 %add6, i32* %arrayidx5, align 4
br label %for.inc
@@ -72,7 +72,7 @@ for.end: ; preds = %for.cond2
S3: ; preds = %for.end
%add7 = add nsw i32 %i.0, 1
%arrayidx8 = getelementptr inbounds i32, i32* %sum, i32 %add7
- %tmp3 = load i32* %arrayidx8, align 4
+ %tmp3 = load i32, i32* %arrayidx8, align 4
%add9 = add nsw i32 %tmp3, 7
store i32 %add9, i32* %arrayidx8, align 4
br label %for.inc10
diff --git a/polly/test/Dependences/reduction_privatization_deps_3.ll b/polly/test/Dependences/reduction_privatization_deps_3.ll
index 7c6dee9d003..6c34c08ef28 100644
--- a/polly/test/Dependences/reduction_privatization_deps_3.ll
+++ b/polly/test/Dependences/reduction_privatization_deps_3.ll
@@ -41,7 +41,7 @@ for.body: ; preds = %for.cond
S1: ; preds = %for.body
%add = add nsw i32 %i.0, 1
%arrayidx = getelementptr inbounds i32, i32* %sum, i32 %add
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add1 = add nsw i32 %tmp, 42
store i32 %add1, i32* %arrayidx, align 4
br label %for.cond2
@@ -58,7 +58,7 @@ S2: ; preds = %for.body4
%mul = mul nsw i32 %i.0, %j.0
%sub = sub nsw i32 %i.0, %j.0
%arrayidx5 = getelementptr inbounds i32, i32* %sum, i32 %sub
- %tmp2 = load i32* %arrayidx5, align 4
+ %tmp2 = load i32, i32* %arrayidx5, align 4
%add6 = add nsw i32 %tmp2, %mul
store i32 %add6, i32* %arrayidx5, align 4
br label %for.inc
@@ -73,7 +73,7 @@ for.end: ; preds = %for.cond2
S3: ; preds = %for.end
%sub7 = add nsw i32 %i.0, -1
%arrayidx8 = getelementptr inbounds i32, i32* %sum, i32 %sub7
- %tmp3 = load i32* %arrayidx8, align 4
+ %tmp3 = load i32, i32* %arrayidx8, align 4
%add9 = add nsw i32 %tmp3, 7
store i32 %add9, i32* %arrayidx8, align 4
br label %for.inc10
diff --git a/polly/test/Dependences/reduction_privatization_deps_4.ll b/polly/test/Dependences/reduction_privatization_deps_4.ll
index 84d1a1409d5..a65ea9acb59 100644
--- a/polly/test/Dependences/reduction_privatization_deps_4.ll
+++ b/polly/test/Dependences/reduction_privatization_deps_4.ll
@@ -40,7 +40,7 @@ for.body: ; preds = %for.cond
S1: ; preds = %for.body
%arrayidx = getelementptr inbounds i32, i32* %sum, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 42
store i32 %add, i32* %arrayidx, align 4
br label %for.cond1
@@ -56,7 +56,7 @@ for.body3: ; preds = %for.cond1
S2: ; preds = %for.body3
%mul = mul nsw i32 %i.0, %j.0
%arrayidx4 = getelementptr inbounds i32, i32* %sum, i32 %j.0
- %tmp2 = load i32* %arrayidx4, align 4
+ %tmp2 = load i32, i32* %arrayidx4, align 4
%add5 = add nsw i32 %tmp2, %mul
store i32 %add5, i32* %arrayidx4, align 4
br label %for.inc
@@ -70,7 +70,7 @@ for.end: ; preds = %for.cond1
S3: ; preds = %for.end
%arrayidx6 = getelementptr inbounds i32, i32* %sum, i32 %i.0
- %tmp3 = load i32* %arrayidx6, align 4
+ %tmp3 = load i32, i32* %arrayidx6, align 4
%add7 = add nsw i32 %tmp3, 7
store i32 %add7, i32* %arrayidx6, align 4
br label %for.inc8
diff --git a/polly/test/Dependences/reduction_privatization_deps_5.ll b/polly/test/Dependences/reduction_privatization_deps_5.ll
index f4a3b796ef2..dc66649696f 100644
--- a/polly/test/Dependences/reduction_privatization_deps_5.ll
+++ b/polly/test/Dependences/reduction_privatization_deps_5.ll
@@ -44,7 +44,7 @@ for.body3: ; preds = %for.cond1
S1: ; preds = %for.body3
%arrayidx = getelementptr inbounds i32, i32* %sum, i32 %j.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 42
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
@@ -67,7 +67,7 @@ for.body6: ; preds = %for.cond4
S2: ; preds = %for.body6
%mul = mul nsw i32 %i.0, %j.1
%arrayidx7 = getelementptr inbounds i32, i32* %sum, i32 %j.1
- %tmp3 = load i32* %arrayidx7, align 4
+ %tmp3 = load i32, i32* %arrayidx7, align 4
%add8 = add nsw i32 %tmp3, %mul
store i32 %add8, i32* %arrayidx7, align 4
br label %for.inc9
diff --git a/polly/test/Dependences/reduction_simple_iv.ll b/polly/test/Dependences/reduction_simple_iv.ll
index 125cc1a63a2..0769107f4fc 100644
--- a/polly/test/Dependences/reduction_simple_iv.ll
+++ b/polly/test/Dependences/reduction_simple_iv.ll
@@ -27,7 +27,7 @@ entry.split: ; preds = %entry.split1
for.cond: ; preds = %for.cond, %entry.split
%i1.0 = phi i32 [ 0, %entry.split ], [ %inc, %for.cond ]
- %sum.reload = load i32* %sum
+ %sum.reload = load i32, i32* %sum
%mul = mul nsw i32 %i1.0, 3
%add = add nsw i32 %sum.reload, %mul
%inc = add nsw i32 %i1.0, 1
diff --git a/polly/test/Dependences/reduction_simple_iv_debug_wrapped_dependences.ll b/polly/test/Dependences/reduction_simple_iv_debug_wrapped_dependences.ll
index 678d63307dc..4bfa4174ae1 100644
--- a/polly/test/Dependences/reduction_simple_iv_debug_wrapped_dependences.ll
+++ b/polly/test/Dependences/reduction_simple_iv_debug_wrapped_dependences.ll
@@ -71,7 +71,7 @@ entry.split: ; preds = %entry.split1
for.cond: ; preds = %for.cond, %entry.split
%i1.0 = phi i32 [ 0, %entry.split ], [ %inc, %for.cond ]
- %sum.reload = load i32* %sum
+ %sum.reload = load i32, i32* %sum
%mul = mul nsw i32 %i1.0, 3
%add = add nsw i32 %sum.reload, %mul
%inc = add nsw i32 %i1.0, 1
diff --git a/polly/test/Dependences/reduction_simple_privatization_deps_2.ll b/polly/test/Dependences/reduction_simple_privatization_deps_2.ll
index 6783da11a0f..3f4fa44233c 100644
--- a/polly/test/Dependences/reduction_simple_privatization_deps_2.ll
+++ b/polly/test/Dependences/reduction_simple_privatization_deps_2.ll
@@ -37,7 +37,7 @@ for.body: ; preds = %for.cond
br label %S0
S0: ; preds = %for.body
- %tmp = load i32* %sum, align 4
+ %tmp = load i32, i32* %sum, align 4
%mul = mul nsw i32 %tmp, 42
store i32 %mul, i32* %sum, align 4
br label %for.cond1
@@ -52,7 +52,7 @@ for.body3: ; preds = %for.cond1
S1: ; preds = %for.body3
%mul4 = mul nsw i32 %i.0, %j.0
- %tmp2 = load i32* %sum, align 4
+ %tmp2 = load i32, i32* %sum, align 4
%add = add nsw i32 %tmp2, %mul4
store i32 %add, i32* %sum, align 4
br label %for.inc
@@ -65,7 +65,7 @@ for.end: ; preds = %for.cond1
br label %S2
S2: ; preds = %for.end
- %tmp3 = load i32* %sum, align 4
+ %tmp3 = load i32, i32* %sum, align 4
%mul5 = mul nsw i32 %tmp3, 7
store i32 %mul5, i32* %sum, align 4
br label %for.inc6
diff --git a/polly/test/Dependences/reduction_simple_privatization_deps_w_parameter.ll b/polly/test/Dependences/reduction_simple_privatization_deps_w_parameter.ll
index abd6173273d..660fe4d8669 100644
--- a/polly/test/Dependences/reduction_simple_privatization_deps_w_parameter.ll
+++ b/polly/test/Dependences/reduction_simple_privatization_deps_w_parameter.ll
@@ -39,7 +39,7 @@ for.cond: ; preds = %for.inc, %S0
br i1 %exitcond, label %S1, label %S2
S1: ; preds = %for.cond
- %tmp = load i32* %sum, align 4
+ %tmp = load i32, i32* %sum, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %sum, align 4
br label %for.inc
@@ -49,7 +49,7 @@ for.inc: ; preds = %S1
br label %for.cond
S2: ; preds = %for.cond
- %tmp1 = load i32* %sum, align 4
+ %tmp1 = load i32, i32* %sum, align 4
%mul = mul nsw i32 %tmp1, 3
store i32 %mul, i32* %sum, align 4
br label %f.end
diff --git a/polly/test/Dependences/reduction_two_reductions_different_rloops.ll b/polly/test/Dependences/reduction_two_reductions_different_rloops.ll
index 919fdebf57e..033afa125c2 100644
--- a/polly/test/Dependences/reduction_two_reductions_different_rloops.ll
+++ b/polly/test/Dependences/reduction_two_reductions_different_rloops.ll
@@ -41,17 +41,17 @@ for.body3: ; preds = %for.cond1
%add = add nsw i32 %i.0, %j.0
%sub = add nsw i32 %add, -1
%arrayidx = getelementptr inbounds i32, i32* %Values, i32 %sub
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx4 = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp2 = load i32* %arrayidx4, align 4
+ %tmp2 = load i32, 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, i32* %Values, i32 %add7
- %tmp3 = load i32* %arrayidx8, align 4
+ %tmp3 = load i32, i32* %arrayidx8, align 4
%arrayidx9 = getelementptr inbounds i32, i32* %B, i32 %j.0
- %tmp4 = load i32* %arrayidx9, align 4
+ %tmp4 = load i32, i32* %arrayidx9, align 4
%add10 = add nsw i32 %tmp4, %tmp3
store i32 %add10, i32* %arrayidx9, align 4
br label %for.inc
diff --git a/polly/test/Dependences/sequential_loops.ll b/polly/test/Dependences/sequential_loops.ll
index befec3eb177..5e11359ede0 100644
--- a/polly/test/Dependences/sequential_loops.ll
+++ b/polly/test/Dependences/sequential_loops.ll
@@ -116,7 +116,7 @@ S3:
%indvar.3 = phi i64 [ 0, %exit.2 ], [ %indvar.next.3, %S3 ]
%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
+ %val = load i32, i32* %arrayidx.3.a
store i32 %val, i32* %arrayidx.3.b
%indvar.next.3 = add i64 %indvar.3, 1
%exitcond.3 = icmp ne i64 %indvar.next.3, 200
@@ -171,7 +171,7 @@ S1:
%indvar.1 = phi i64 [ 0, %entry ], [ %indvar.next.1, %S1 ]
%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
+ %val = load i32, i32* %arrayidx.1.a
store i32 %val, i32* %arrayidx.1.b
%indvar.next.1 = add i64 %indvar.1, 1
%exitcond.1 = icmp ne i64 %indvar.next.1, 100
@@ -259,7 +259,7 @@ S2:
%sum = add i64 %indvar.2, %p
%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
+ %val = load i32, i32* %arrayidx.2.a
store i32 %val, i32* %arrayidx.2.b
%indvar.next.2 = add i64 %indvar.2, 1
%exitcond.2 = icmp ne i64 %indvar.next.2, 10
diff --git a/polly/test/IndependentBlocks/inter_bb_scalar_dep.ll b/polly/test/IndependentBlocks/inter_bb_scalar_dep.ll
index d18cc51154f..fc75a56fa8d 100644
--- a/polly/test/IndependentBlocks/inter_bb_scalar_dep.ll
+++ b/polly/test/IndependentBlocks/inter_bb_scalar_dep.ll
@@ -33,14 +33,14 @@ for.i:
br label %entry.next
entry.next:
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
; SCALARACCESS-NOT: store
br label %for.j
for.j:
%indvar.j = phi i64 [ 0, %entry.next ], [ %indvar.j.next, %for.j ]
%init_plus_two = add i64 %init, 2
-; CHECK: %init.loadarray = load i64* %init.s2a
+; CHECK: %init.loadarray = load i64, i64* %init.s2a
; CHECK: %init_plus_two = add i64 %init.loadarray, 2
; SCALARACCESS: %init_plus_two = add i64 %init, 2
%scevgep = getelementptr i64, i64* %A, i64 %indvar.j
diff --git a/polly/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll b/polly/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll
index c17fc09d448..6c424a16931 100644
--- a/polly/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll
+++ b/polly/test/IndependentBlocks/intra_and_inter_bb_scalar_dep.ll
@@ -34,23 +34,23 @@ for.i:
br label %entry.next
entry.next:
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
; SCALARACCESS-NOT: store
br label %for.j
for.j:
%indvar.j = phi i64 [ 0, %entry.next ], [ %indvar.j.next, %for.j ]
- %init_2 = load i64* %init_ptr
+ %init_2 = load i64, i64* %init_ptr
%init_sum = add i64 %init, %init_2
-; CHECK: %init_2 = load i64* %init_ptr
-; CHECK: %init.loadarray = load i64* %init.s2a
+; CHECK: %init_2 = load i64, i64* %init_ptr
+; CHECK: %init.loadarray = load i64, i64* %init.s2a
; CHECK: %init_sum = add i64 %init.loadarray, %init_2
; The SCEV of %init_sum is (%init + %init_2). It is referring to both an
; UnknownValue in the same and in a different basic block. We want only the
; reference to the different basic block to be replaced.
-; SCALARACCESS: %init_2 = load i64* %init_ptr
+; SCALARACCESS: %init_2 = load i64, i64* %init_ptr
; SCALARACCESS: %init_sum = add i64 %init, %init_2
%scevgep = getelementptr i64, i64* %A, i64 %indvar.j
store i64 %init_sum, i64* %scevgep
diff --git a/polly/test/IndependentBlocks/intra_bb_scalar_dep.ll b/polly/test/IndependentBlocks/intra_bb_scalar_dep.ll
index 07d8b81885d..40448601e8a 100644
--- a/polly/test/IndependentBlocks/intra_bb_scalar_dep.ll
+++ b/polly/test/IndependentBlocks/intra_bb_scalar_dep.ll
@@ -34,7 +34,7 @@ entry.next:
for.j:
%indvar.j = phi i64 [ 0, %entry.next ], [ %indvar.j.next, %for.j ]
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
%init_plus_two = add i64 %init, 2
; 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.
diff --git a/polly/test/IndependentBlocks/phi_outside_scop.ll b/polly/test/IndependentBlocks/phi_outside_scop.ll
index 1a77ca62fb6..5418aecc9c6 100644
--- a/polly/test/IndependentBlocks/phi_outside_scop.ll
+++ b/polly/test/IndependentBlocks/phi_outside_scop.ll
@@ -29,7 +29,7 @@ cleanup:
; CHECK: store i32 %i.1.next, i32* %i.1.next.s2a
; CHECK: for.i.2.preheader:
-; CHECK: %i.1.next.loadoutside = load i32* %i.1.next.s2a
+; CHECK: %i.1.next.loadoutside = load i32, i32* %i.1.next.s2a
; CHECK: for.i.2:
; CHECK: %i.2 = phi i32 [ %i.2.next, %for.i.2 ], [ %i.1.next.loadoutside, %for.i.2.preheader ]
diff --git a/polly/test/IndependentBlocks/scalar_to_array.ll b/polly/test/IndependentBlocks/scalar_to_array.ll
index 39672c12078..184921bd3d5 100644
--- a/polly/test/IndependentBlocks/scalar_to_array.ll
+++ b/polly/test/IndependentBlocks/scalar_to_array.ll
@@ -88,18 +88,18 @@ for.cond:
for.body.a:
%arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar
- %scalar = load float* %arrayidx
+ %scalar = load float, float* %arrayidx
br label %for.body.b
; CHECK: for.body.a:
; CHECK: %arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar
-; CHECK: %scalar = load float* %arrayidx
+; CHECK: %scalar = load float, 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], [1024 x float]* @A, i64 0, i64 %indvar
-; SCALARACCESS: %scalar = load float* %arrayidx
+; SCALARACCESS: %scalar = load float, float* %arrayidx
; SCALARACCESS-NOT: store
; SCALARACCESS: br label %for.body.b
@@ -113,7 +113,7 @@ for.body.b:
; CHECK: for.body.b:
; 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: %scalar.loadarray = load float, float* %scalar.s2a
; CHECK: %sum = fadd float %scalar.loadarray, %float
; CHECK: store float %sum, float* %arrayidx2
; CHECK: br label %for.inc
@@ -160,15 +160,15 @@ for.head:
for.body:
%arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar
- %scalar = load float* %arrayidx
+ %scalar = load float, float* %arrayidx
br label %for.inc
; CHECK: for.body:
-; CHECK: %scalar = load float* %arrayidx
+; CHECK: %scalar = load float, float* %arrayidx
; CHECK: store float %scalar, float* %scalar.s2a
; SCALARACCESS: for.body:
-; SCALARACCESS: %scalar = load float* %arrayidx
+; SCALARACCESS: %scalar = load float, float* %arrayidx
; SCALARACCESS: store float %scalar, float* %scalar.s2a
for.inc:
@@ -182,12 +182,12 @@ for.after:
br label %return
; CHECK: for.after:
-; CHECK: %scalar.loadoutside = load float* %scalar.s2a
+; CHECK: %scalar.loadoutside = load float, float* %scalar.s2a
; CHECK: fence seq_cst
; CHECK: %return_value = fptosi float %scalar.loadoutside to i32
; SCALARACCESS: for.after:
-; SCALARACCESS: %scalar.loadoutside = load float* %scalar.s2a
+; SCALARACCESS: %scalar.loadoutside = load float, float* %scalar.s2a
; SCALARACCESS: fence seq_cst
; SCALARACCESS: %return_value = fptosi float %scalar.loadoutside to i32
diff --git a/polly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll b/polly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll
index 5b51ce056f5..04996a7497c 100644
--- a/polly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll
+++ b/polly/test/Isl/Ast/OpenMP/multiple_loops_outer_parallel.ll
@@ -39,7 +39,7 @@ for.cond2: ; preds = %for.inc9, %for.end
for.body4: ; preds = %for.cond2
%arrayidx6 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp = load i32* %arrayidx6, align 4
+ %tmp = load i32, i32* %arrayidx6, align 4
%mul = shl nsw i32 %tmp, 1
%arrayidx8 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %mul, i32* %arrayidx8, align 4
diff --git a/polly/test/Isl/Ast/alias_simple_1.ll b/polly/test/Isl/Ast/alias_simple_1.ll
index fbcd7b46c60..17145ee996e 100644
--- a/polly/test/Isl/Ast/alias_simple_1.ll
+++ b/polly/test/Isl/Ast/alias_simple_1.ll
@@ -33,7 +33,7 @@ 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, float* %B, i64 %indvars.iv
- %tmp = load float* %arrayidx, align 4, !tbaa !1
+ %tmp = load float, float* %arrayidx, align 4, !tbaa !1
%conv = fptosi float %tmp to i32
%arrayidx2 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv
store i32 %conv, i32* %arrayidx2, align 4, !tbaa !5
diff --git a/polly/test/Isl/Ast/alias_simple_2.ll b/polly/test/Isl/Ast/alias_simple_2.ll
index 2bbc8deee81..e2489ac7ef9 100644
--- a/polly/test/Isl/Ast/alias_simple_2.ll
+++ b/polly/test/Isl/Ast/alias_simple_2.ll
@@ -34,7 +34,7 @@ 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], [1024 x i32]* @B, i64 0, i64 %indvars.iv
- %tmp = load i32* %arrayidx, align 4, !tbaa !5
+ %tmp = load i32, i32* %arrayidx, align 4, !tbaa !5
%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
diff --git a/polly/test/Isl/Ast/alias_simple_3.ll b/polly/test/Isl/Ast/alias_simple_3.ll
index 58d6553d23b..2e42214cfc1 100644
--- a/polly/test/Isl/Ast/alias_simple_3.ll
+++ b/polly/test/Isl/Ast/alias_simple_3.ll
@@ -34,7 +34,7 @@ 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], [1024 x float]* @B, i64 0, i64 %indvars.iv
- %tmp = load float* %arrayidx, align 4, !tbaa !1
+ %tmp = load float, float* %arrayidx, align 4, !tbaa !1
%conv = fptosi float %tmp to i32
%arrayidx2 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv
store i32 %conv, i32* %arrayidx2, align 4, !tbaa !5
diff --git a/polly/test/Isl/Ast/aliasing_multiple_alias_groups.ll b/polly/test/Isl/Ast/aliasing_multiple_alias_groups.ll
index c0ca608d2ac..7f214edd6c3 100644
--- a/polly/test/Isl/Ast/aliasing_multiple_alias_groups.ll
+++ b/polly/test/Isl/Ast/aliasing_multiple_alias_groups.ll
@@ -30,11 +30,11 @@ entry:
for.body: ; preds = %for.body, %entry
%indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ]
%arrayidx = getelementptr inbounds i32, i32* %Int1, i64 %indvars.iv
- %tmp = load i32* %arrayidx, align 4, !tbaa !0
+ %tmp = load i32, i32* %arrayidx, align 4, !tbaa !0
%arrayidx2 = getelementptr inbounds i32, i32* %Int0, i64 %indvars.iv
store i32 %tmp, i32* %arrayidx2, align 4, !tbaa !0
%arrayidx4 = getelementptr inbounds float, float* %Float1, i64 %indvars.iv
- %tmp1 = load float* %arrayidx4, align 4, !tbaa !4
+ %tmp1 = load float, float* %arrayidx4, align 4, !tbaa !4
%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
diff --git a/polly/test/Isl/Ast/aliasing_parametric_simple_1.ll b/polly/test/Isl/Ast/aliasing_parametric_simple_1.ll
index 8f3154d131c..1ae73d34912 100644
--- a/polly/test/Isl/Ast/aliasing_parametric_simple_1.ll
+++ b/polly/test/Isl/Ast/aliasing_parametric_simple_1.ll
@@ -25,7 +25,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%idxprom = sext i32 %c to i64
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %idxprom
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx2 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp, i32* %arrayidx2, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/aliasing_parametric_simple_2.ll b/polly/test/Isl/Ast/aliasing_parametric_simple_2.ll
index bd2e126f2a1..bb0ac5753d3 100644
--- a/polly/test/Isl/Ast/aliasing_parametric_simple_2.ll
+++ b/polly/test/Isl/Ast/aliasing_parametric_simple_2.ll
@@ -26,9 +26,9 @@ for.body: ; preds = %for.cond
%sub = add nsw i32 %c, -10
%idxprom = sext i32 %sub to i64
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %idxprom
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx1 = getelementptr inbounds i32, i32* %B, i64 5
- %tmp1 = load i32* %arrayidx1, align 4
+ %tmp1 = load i32, i32* %arrayidx1, align 4
%add = add nsw i32 %tmp, %tmp1
%arrayidx3 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %add, i32* %arrayidx3, align 4
diff --git a/polly/test/Isl/Ast/dependence_distance_constant.ll b/polly/test/Isl/Ast/dependence_distance_constant.ll
index ecdd4d923f4..be02b72f5bb 100644
--- a/polly/test/Isl/Ast/dependence_distance_constant.ll
+++ b/polly/test/Isl/Ast/dependence_distance_constant.ll
@@ -29,7 +29,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 1
%add4 = add nsw i32 %i.0, 8
%arrayidx5 = getelementptr inbounds i32, i32* %A, i32 %add4
diff --git a/polly/test/Isl/Ast/dependence_distance_multiple_constant.ll b/polly/test/Isl/Ast/dependence_distance_multiple_constant.ll
index 32f9d4c9e2c..121ecb1a683 100644
--- a/polly/test/Isl/Ast/dependence_distance_multiple_constant.ll
+++ b/polly/test/Isl/Ast/dependence_distance_multiple_constant.ll
@@ -21,13 +21,13 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 1
%add1 = add nsw i32 %i.0, 7
%arrayidx2 = getelementptr inbounds i32, i32* %A, i32 %add1
store i32 %add, i32* %arrayidx2, align 4
%arrayidx3 = getelementptr inbounds i32, i32* %B, i32 %i.0
- %tmp1 = load i32* %arrayidx3, align 4
+ %tmp1 = load i32, i32* %arrayidx3, align 4
%add4 = add nsw i32 %tmp1, 1
%add5 = add nsw i32 %i.0, 5
%arrayidx6 = getelementptr inbounds i32, i32* %B, i32 %add5
diff --git a/polly/test/Isl/Ast/dependence_distance_parametric.ll b/polly/test/Isl/Ast/dependence_distance_parametric.ll
index 43b38b54e7c..71053a69125 100644
--- a/polly/test/Isl/Ast/dependence_distance_parametric.ll
+++ b/polly/test/Isl/Ast/dependence_distance_parametric.ll
@@ -29,7 +29,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 1
%add4 = add nsw i32 %i.0, %c
%arrayidx5 = getelementptr inbounds i32, i32* %A, i32 %add4
diff --git a/polly/test/Isl/Ast/dependence_distance_parametric_expr.ll b/polly/test/Isl/Ast/dependence_distance_parametric_expr.ll
index 6cfd91eb488..72bcde732c3 100644
--- a/polly/test/Isl/Ast/dependence_distance_parametric_expr.ll
+++ b/polly/test/Isl/Ast/dependence_distance_parametric_expr.ll
@@ -29,7 +29,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 1
%add4 = add nsw i32 %i.0, %c
%add5 = add nsw i32 %add4, %v
diff --git a/polly/test/Isl/Ast/dependence_distance_varying.ll b/polly/test/Isl/Ast/dependence_distance_varying.ll
index a66ed9171c3..e63656afff7 100644
--- a/polly/test/Isl/Ast/dependence_distance_varying.ll
+++ b/polly/test/Isl/Ast/dependence_distance_varying.ll
@@ -20,7 +20,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%sub = sub nsw i32 %N, %i.0
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %sub
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 1
%arrayidx1 = getelementptr inbounds i32, i32* %A, i32 %i.0
store i32 %add, i32* %arrayidx1, align 4
diff --git a/polly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll b/polly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll
index 867d4f8ec26..d38df2e332c 100644
--- a/polly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll
+++ b/polly/test/Isl/Ast/dependence_distance_varying_in_outer_loop.ll
@@ -29,7 +29,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %j.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = mul nsw i32 %tmp, 3
%add5 = add nsw i32 %add, 2
%sub = add nsw i32 %i.0, -3
diff --git a/polly/test/Isl/Ast/dependence_distance_varying_multiple.ll b/polly/test/Isl/Ast/dependence_distance_varying_multiple.ll
index 81def72f250..6e614103402 100644
--- a/polly/test/Isl/Ast/dependence_distance_varying_multiple.ll
+++ b/polly/test/Isl/Ast/dependence_distance_varying_multiple.ll
@@ -27,35 +27,35 @@ for.body: ; preds = %for.cond
%mul = shl nsw i32 %i.0, 1
%sub = sub nsw i32 100, %mul
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %sub
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 1
%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, i32* %B, i32 %sub3
- %tmp2 = load i32* %arrayidx4, align 4
+ %tmp2 = load i32, i32* %arrayidx4, align 4
%add5 = add nsw i32 %tmp2, 1
%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, i32* %C, i32 %sub8
- %tmp3 = load i32* %arrayidx9, align 4
+ %tmp3 = load i32, i32* %arrayidx9, align 4
%add10 = add nsw i32 %tmp3, 1
%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, i32* %D, i32 %sub13
- %tmp5 = load i32* %arrayidx14, align 4
+ %tmp5 = load i32, i32* %arrayidx14, align 4
%add15 = add nsw i32 %tmp5, 1
%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, i32* %E, i32 %sub18
- %tmp7 = load i32* %arrayidx19, align 4
+ %tmp7 = load i32, i32* %arrayidx19, align 4
%add20 = add nsw i32 %tmp7, 1
%arrayidx21 = getelementptr inbounds i32, i32* %E, i32 %i.0
store i32 %add20, i32* %arrayidx21, align 4
diff --git a/polly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll b/polly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll
index 8d405b5dc7c..886eb0c52a7 100644
--- a/polly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll
+++ b/polly/test/Isl/Ast/reduction_clauses_multidimensional_access.ll
@@ -40,7 +40,7 @@ for.body6: ; preds = %for.cond4
%tmp = mul nsw i32 %j.0, %M
%arrayidx.sum = add i32 %tmp, %k.0
%arrayidx7 = getelementptr inbounds i32, i32* %sum, i32 %arrayidx.sum
- %tmp1 = load i32* %arrayidx7, align 4
+ %tmp1 = load i32, i32* %arrayidx7, align 4
%xor = xor i32 %tmp1, %j.0
store i32 %xor, i32* %arrayidx7, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll b/polly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll
index 0c24573c194..fd86e2524b8 100644
--- a/polly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll
+++ b/polly/test/Isl/Ast/reduction_clauses_onedimensional_access.ll
@@ -29,7 +29,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %sum, i32 %j.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%xor = xor i32 %tmp, %j.0
store i32 %xor, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll b/polly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll
index b7c78aabf88..5543714b979 100644
--- a/polly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll
+++ b/polly/test/Isl/Ast/reduction_dependences_equal_non_reduction_dependences.ll
@@ -29,21 +29,21 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%sub = add nsw i32 %i.0, -1
%arrayidx1 = getelementptr inbounds i32, i32* %A, i32 %sub
- %tmp1 = load i32* %arrayidx1, align 4
+ %tmp1 = load i32, i32* %arrayidx1, align 4
%add = add nsw i32 %tmp, %tmp1
%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, i32* %A, i32 %sub4
- %tmp2 = load i32* %arrayidx5, align 4
+ %tmp2 = load i32, i32* %arrayidx5, align 4
%add6 = add nsw i32 %add, %tmp2
%sub7 = add nsw i32 %i.0, -1
%arrayidx8 = getelementptr inbounds i32, i32* %A, i32 %sub7
store i32 %add6, i32* %arrayidx8, align 4
- %tmp3 = load i32* %sum, align 4
+ %tmp3 = load i32, i32* %sum, align 4
%add9 = add nsw i32 %tmp3, %i.0
store i32 %add9, i32* %sum, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_different_reduction_clauses.ll b/polly/test/Isl/Ast/reduction_different_reduction_clauses.ll
index 85913296fda..d16c3b65bd8 100644
--- a/polly/test/Isl/Ast/reduction_different_reduction_clauses.ll
+++ b/polly/test/Isl/Ast/reduction_different_reduction_clauses.ll
@@ -28,20 +28,20 @@ for.cond: ; preds = %for.inc, %entry
br i1 %cmp, label %for.body, label %for.end
for.body: ; preds = %for.cond
- %tmp = load i32* %sum1, align 4
+ %tmp = load i32, i32* %sum1, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %sum1, align 4
%add1 = add nsw i32 %i.0, 1
- %tmp1 = load i32* %sum2, align 4
+ %tmp1 = load i32, i32* %sum2, align 4
%add2 = add nsw i32 %tmp1, %add1
store i32 %add2, i32* %sum2, align 4
- %tmp2 = load i32* %prod, align 4
+ %tmp2 = load i32, i32* %prod, align 4
%mul = mul nsw i32 %tmp2, %i.0
store i32 %mul, i32* %prod, align 4
- %tmp3 = load i32* %and, align 4
+ %tmp3 = load i32, i32* %and, align 4
%and3 = and i32 %tmp3, %i.0
store i32 %and3, i32* %and, align 4
- %tmp4 = load i32* %or, align 4
+ %tmp4 = load i32, i32* %or, align 4
%or4 = or i32 %tmp4, %i.0
store i32 %or4, i32* %or, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_in_one_dimension.ll b/polly/test/Isl/Ast/reduction_in_one_dimension.ll
index 5aec5835ac0..30aaca7b073 100644
--- a/polly/test/Isl/Ast/reduction_in_one_dimension.ll
+++ b/polly/test/Isl/Ast/reduction_in_one_dimension.ll
@@ -36,7 +36,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_loop_reversal.ll b/polly/test/Isl/Ast/reduction_loop_reversal.ll
index 81a53e18596..0e0dc6512ff 100644
--- a/polly/test/Isl/Ast/reduction_loop_reversal.ll
+++ b/polly/test/Isl/Ast/reduction_loop_reversal.ll
@@ -29,7 +29,7 @@ for.body: ; preds = %for.cond
br label %S0
S0: ; preds = %for.body
- %tmp = load i32* %A, align 4
+ %tmp = load i32, i32* %A, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %A, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll b/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll
index 1e20b96fd72..9ad906c31a0 100644
--- a/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll
+++ b/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule.ll
@@ -32,7 +32,7 @@ for.body: ; preds = %for.cond
br label %S0
S0: ; preds = %for.body
- %tmp = load i32* %A, align 4
+ %tmp = load i32, i32* %A, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %A, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll b/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll
index c19946ad1de..a5ef418eb80 100644
--- a/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll
+++ b/polly/test/Isl/Ast/reduction_modulo_and_loop_reversal_schedule_2.ll
@@ -39,7 +39,7 @@ for.body: ; preds = %for.cond
br label %S0
S0: ; preds = %for.body
- %tmp = load i32* %A, align 4
+ %tmp = load i32, i32* %A, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %A, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule.ll b/polly/test/Isl/Ast/reduction_modulo_schedule.ll
index c1fa7c823ac..21a13059a25 100644
--- a/polly/test/Isl/Ast/reduction_modulo_schedule.ll
+++ b/polly/test/Isl/Ast/reduction_modulo_schedule.ll
@@ -32,7 +32,7 @@ for.body: ; preds = %for.cond
br label %S0
S0: ; preds = %for.body
- %tmp = load i32* %A, align 4
+ %tmp = load i32, i32* %A, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %A, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll
index 3571b8fdf21..5c66524c523 100644
--- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll
+++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions.ll
@@ -35,7 +35,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll
index bb1db3b14d1..45db5ccdb68 100644
--- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll
+++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_2.ll
@@ -37,7 +37,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll
index ec086ccabdc..3d586a09460 100644
--- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll
+++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_3.ll
@@ -37,7 +37,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll
index 9358ffe8e66..ff223ad67df 100644
--- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll
+++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_4.ll
@@ -41,7 +41,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll
index 8c47cde8feb..ecf6b65c97d 100644
--- a/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll
+++ b/polly/test/Isl/Ast/reduction_modulo_schedule_multiple_dimensions_5.ll
@@ -44,7 +44,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_multiple_dimensions.ll b/polly/test/Isl/Ast/reduction_multiple_dimensions.ll
index 24e6467518c..0290d6c154a 100644
--- a/polly/test/Isl/Ast/reduction_multiple_dimensions.ll
+++ b/polly/test/Isl/Ast/reduction_multiple_dimensions.ll
@@ -44,7 +44,7 @@ for.cond4: ; preds = %for.inc, %for.body3
for.body6: ; preds = %for.cond4
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_multiple_dimensions_2.ll b/polly/test/Isl/Ast/reduction_multiple_dimensions_2.ll
index ad51156f3a6..a3e16b60243 100644
--- a/polly/test/Isl/Ast/reduction_multiple_dimensions_2.ll
+++ b/polly/test/Isl/Ast/reduction_multiple_dimensions_2.ll
@@ -44,7 +44,7 @@ for.cond4: ; preds = %for.inc, %for.body3
for.body6: ; preds = %for.cond4
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_multiple_dimensions_3.ll b/polly/test/Isl/Ast/reduction_multiple_dimensions_3.ll
index bde76439211..2313349a207 100644
--- a/polly/test/Isl/Ast/reduction_multiple_dimensions_3.ll
+++ b/polly/test/Isl/Ast/reduction_multiple_dimensions_3.ll
@@ -44,7 +44,7 @@ for.cond4: ; preds = %for.inc, %for.body3
for.body6: ; preds = %for.cond4
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/reduction_multiple_dimensions_4.ll b/polly/test/Isl/Ast/reduction_multiple_dimensions_4.ll
index 0c585a4ae3d..6cb2001ffca 100644
--- a/polly/test/Isl/Ast/reduction_multiple_dimensions_4.ll
+++ b/polly/test/Isl/Ast/reduction_multiple_dimensions_4.ll
@@ -44,7 +44,7 @@ for.cond4: ; preds = %for.inc, %for.body3
for.body6: ; preds = %for.cond4
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/Ast/run-time-condition.ll b/polly/test/Isl/Ast/run-time-condition.ll
index 36bc820b20a..a8119ed63cd 100644
--- a/polly/test/Isl/Ast/run-time-condition.ll
+++ b/polly/test/Isl/Ast/run-time-condition.ll
@@ -17,7 +17,7 @@ for.cond: ; preds = %for.body, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i16, i16* %B, i64 0
- %load = load i16* %arrayidx
+ %load = load i16, i16* %arrayidx
%add10 = add nsw i16 %load, 1
%arrayidx13 = getelementptr inbounds i16, i16* %A, i64 %indvar
store i16 %add10, i16* %arrayidx13, align 2
diff --git a/polly/test/Isl/Ast/single_loop_strip_mine.ll b/polly/test/Isl/Ast/single_loop_strip_mine.ll
index 5977702ae4f..e8ac2f3ae87 100644
--- a/polly/test/Isl/Ast/single_loop_strip_mine.ll
+++ b/polly/test/Isl/Ast/single_loop_strip_mine.ll
@@ -18,7 +18,7 @@ for.cond: ; preds = %for.body, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i16, i16* %B, i64 0
- %load = load i16* %arrayidx
+ %load = load i16, i16* %arrayidx
%add10 = add nsw i16 %load, 1
%arrayidx13 = getelementptr inbounds i16, i16* %A, i64 %indvar
store i16 %add10, i16* %arrayidx13, align 2
diff --git a/polly/test/Isl/CodeGen/20100707_2.ll b/polly/test/Isl/CodeGen/20100707_2.ll
index 03128ad7cf6..797965427cf 100644
--- a/polly/test/Isl/CodeGen/20100707_2.ll
+++ b/polly/test/Isl/CodeGen/20100707_2.ll
@@ -47,7 +47,7 @@ bb34: ; preds = %bb35
%7 = sext i32 %4 to i64 ; <i64> [#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 ; <double*> [#uses=1]
- %10 = load double* %9, align 8 ; <double> [#uses=0]
+ %10 = load double, double* %9, align 8 ; <double> [#uses=0]
%11 = fsub double 0.000000e+00, undef ; <double> [#uses=1]
%12 = getelementptr inbounds double, double* getelementptr inbounds ([4 x [36 x double]]* @win193, i64 0, i64 2, i64 4), i64 0 ; <double*> [#uses=1]
store double %11, double* %12, align 8
@@ -56,23 +56,23 @@ bb34: ; preds = %bb35
%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 ; <i64> [#uses=1]
%17 = getelementptr inbounds [36 x double], [36 x double]* %15, i64 0, i64 %16 ; <double*> [#uses=1]
- %18 = load double* %17, align 8 ; <double> [#uses=0]
+ %18 = load double, double* %17, align 8 ; <double> [#uses=0]
%19 = sext i32 %k.4 to i64 ; <i64> [#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 ; <i64> [#uses=1]
%22 = getelementptr inbounds [32 x double], [32 x double]* %20, i64 0, i64 %21 ; <double*> [#uses=1]
- %23 = load double* %22, align 8 ; <double> [#uses=0]
+ %23 = load double, double* %22, align 8 ; <double> [#uses=0]
%24 = sext i32 %39 to i64 ; <i64> [#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 ; <double*> [#uses=1]
- %27 = load double* %26, align 8 ; <double> [#uses=0]
+ %27 = load double, double* %26, align 8 ; <double> [#uses=0]
%28 = sub nsw i32 17, %k.4 ; <i32> [#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 ; <i64> [#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 ; <double*> [#uses=1]
- %34 = load double* %33, align 8 ; <double> [#uses=0]
+ %34 = load double, double* %33, align 8 ; <double> [#uses=0]
%35 = sext i32 %13 to i64 ; <i64> [#uses=1]
%36 = getelementptr inbounds double, double* getelementptr inbounds ([4 x [36 x double]]* @win193, i64 0, i64 2, i64 4), i64 %35 ; <double*> [#uses=1]
store double 0.000000e+00, double* %36, align 8
@@ -92,7 +92,7 @@ bb37: ; preds = %bb32, %bb26
bb48: ; preds = %bb37, %bb9
%band.2 = phi i32 [ %38, %bb37 ], [ 0, %bb9 ] ; <i32> [#uses=2]
- %39 = load i32* null, align 8 ; <i32> [#uses=1]
+ %39 = load i32, i32* null, align 8 ; <i32> [#uses=1]
br i1 undef, label %bb26, label %bb25
bb50: ; preds = %bb54
diff --git a/polly/test/Isl/CodeGen/20100713.ll b/polly/test/Isl/CodeGen/20100713.ll
index 975f791f92d..040b3b5e476 100644
--- a/polly/test/Isl/CodeGen/20100713.ll
+++ b/polly/test/Isl/CodeGen/20100713.ll
@@ -13,7 +13,7 @@ bb19: ; preds = %bb18
br label %bb21
bb20: ; preds = %bb21
- %1 = load float* undef, align 4 ; <float> [#uses=0]
+ %1 = load float, float* undef, align 4 ; <float> [#uses=0]
%2 = fpext float undef to double ; <double> [#uses=1]
%3 = fdiv double %2, %a ; <double> [#uses=0]
%indvar.next = add i64 %indvar, 1 ; <i64> [#uses=1]
diff --git a/polly/test/Isl/CodeGen/20100717.ll b/polly/test/Isl/CodeGen/20100717.ll
index 9fd3a753539..26adaece033 100644
--- a/polly/test/Isl/CodeGen/20100717.ll
+++ b/polly/test/Isl/CodeGen/20100717.ll
@@ -16,7 +16,7 @@ bb1: ; preds = %bb2
%3 = getelementptr inbounds double*, double** %A, i64 0 ; <double**> [#uses=0]
%4 = sext i32 %j.0 to i64 ; <i64> [#uses=1]
%5 = getelementptr inbounds double*, double** %A, i64 %4 ; <double**> [#uses=1]
- %6 = load double** %5, align 8 ; <double*> [#uses=0]
+ %6 = load double*, double** %5, align 8 ; <double*> [#uses=0]
%7 = add nsw i32 %j.0, 1 ; <i32> [#uses=1]
br label %bb2
diff --git a/polly/test/Isl/CodeGen/20100720-MultipleConditions.ll b/polly/test/Isl/CodeGen/20100720-MultipleConditions.ll
index 3d1781ea1be..787fd0b3abc 100644
--- a/polly/test/Isl/CodeGen/20100720-MultipleConditions.ll
+++ b/polly/test/Isl/CodeGen/20100720-MultipleConditions.ll
@@ -77,7 +77,7 @@ define i32 @main() nounwind {
fence seq_cst
%14 = sext i32 undef to i64 ; <i64> [#uses=1]
%15 = getelementptr inbounds i32, i32* getelementptr inbounds ([100 x i32]* @A, i32 0, i32 0), i64 %14 ; <i32*> [#uses=1]
- %16 = load i32* %15 ; <i32> [#uses=1]
+ %16 = load i32, i32* %15 ; <i32> [#uses=1]
ret i32 %16
}
diff --git a/polly/test/Isl/CodeGen/20100809-IndependentBlock.ll b/polly/test/Isl/CodeGen/20100809-IndependentBlock.ll
index 5dc6d15082e..a6b9d9c3b7a 100644
--- a/polly/test/Isl/CodeGen/20100809-IndependentBlock.ll
+++ b/polly/test/Isl/CodeGen/20100809-IndependentBlock.ll
@@ -19,7 +19,7 @@ bb21: ; preds = %bb20
br label %bb23
bb23: ; preds = %bb21, %bb20
- %d.1.reload = load [2 x float]** %d.1.reg2mem ; <[2 x float]*> [#uses=1]
+ %d.1.reload = load [2 x float]*, [2 x float]** %d.1.reg2mem ; <[2 x float]*> [#uses=1]
br i1 undef, label %bb29, label %bb34
bb29: ; preds = %bb23
diff --git a/polly/test/Isl/CodeGen/20101030-Overflow.ll b/polly/test/Isl/CodeGen/20101030-Overflow.ll
index fd7c890b8fa..c099cc70d1b 100644
--- a/polly/test/Isl/CodeGen/20101030-Overflow.ll
+++ b/polly/test/Isl/CodeGen/20101030-Overflow.ll
@@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu"
define void @compdecomp() nounwind {
entry:
%max = alloca i64
- %i = load i64* undef
+ %i = load i64, i64* undef
br label %bb37
bb37: ; preds = %bb36, %bb28
diff --git a/polly/test/Isl/CodeGen/20101103-Overflow3.ll b/polly/test/Isl/CodeGen/20101103-Overflow3.ll
index 7ebb3e945b9..9a865c84827 100644
--- a/polly/test/Isl/CodeGen/20101103-Overflow3.ll
+++ b/polly/test/Isl/CodeGen/20101103-Overflow3.ll
@@ -3,7 +3,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
target triple = "x86_64-unknown-linux-gnu"
define void @Reflection_coefficients(i16* %r) nounwind {
bb20:
- %indvar3.lcssa20.reload = load i64* undef
+ %indvar3.lcssa20.reload = load i64, i64* undef
%tmp = mul i64 %indvar3.lcssa20.reload, -1
%tmp5 = add i64 %tmp, 8
br label %bb22
diff --git a/polly/test/Isl/CodeGen/20101103-signmissmatch.ll b/polly/test/Isl/CodeGen/20101103-signmissmatch.ll
index 95e7dc5e425..f9ad2ea9395 100644
--- a/polly/test/Isl/CodeGen/20101103-signmissmatch.ll
+++ b/polly/test/Isl/CodeGen/20101103-signmissmatch.ll
@@ -11,7 +11,7 @@ bb7: ; preds = %bb7, %entry
br i1 undef, label %bb7, label %bb8
bb8: ; preds = %bb7
- %indvar5.lcssa.reload = load i64* undef
+ %indvar5.lcssa.reload = load i64, i64* undef
%tmp17 = mul i64 %indvar5.lcssa.reload, -1
%tmp18 = add i64 0, %tmp17
br label %bb18
diff --git a/polly/test/Isl/CodeGen/20110312-Fail-without-basicaa.ll b/polly/test/Isl/CodeGen/20110312-Fail-without-basicaa.ll
index d7a55db66cd..c72e113dd78 100644
--- a/polly/test/Isl/CodeGen/20110312-Fail-without-basicaa.ll
+++ b/polly/test/Isl/CodeGen/20110312-Fail-without-basicaa.ll
@@ -14,7 +14,7 @@ entry.split: ; preds = %entry
for.body: ; preds = %for.body, %entry.split
%j.01 = phi i32 [ 0, %entry.split ], [ %inc1, %for.body ]
- %t.02.reload = load float* %t.02.reg2mem
+ %t.02.reload = load float, float* %t.02.reg2mem
%inc = fadd float %t.02.reload, 1.000000e+00
%inc1 = add nsw i32 %j.01, 1
%exitcond = icmp eq i32 %inc1, 5000001
diff --git a/polly/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll b/polly/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll
index f58a22b1278..f042ee4a3e1 100644
--- a/polly/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll
+++ b/polly/test/Isl/CodeGen/LoopParallelMD/do_not_mutate_debug_info.ll
@@ -11,13 +11,13 @@ target triple = "x86_64-unknown-linux-gnu"
define void @foo() {
entry:
tail call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !9, metadata !19), !dbg !20
- %0 = load i32** @A, align 8, !dbg !21, !tbaa !23
+ %0 = load i32*, i32** @A, align 8, !dbg !21, !tbaa !23
br label %for.body, !dbg !27
for.body: ; preds = %for.body, %entry
%indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ]
%arrayidx = getelementptr inbounds i32, i32* %0, i64 %indvars.iv, !dbg !21
- %1 = load i32* %arrayidx, align 4, !dbg !21, !tbaa !30
+ %1 = load i32, i32* %arrayidx, align 4, !dbg !21, !tbaa !30
%add = add nsw i32 %1, 1, !dbg !21
store i32 %add, i32* %arrayidx, align 4, !dbg !21, !tbaa !30
%indvars.iv.next = add nuw nsw i64 %indvars.iv, 1, !dbg !27
diff --git a/polly/test/Isl/CodeGen/LoopParallelMD/single_loop_param_parallel.ll b/polly/test/Isl/CodeGen/LoopParallelMD/single_loop_param_parallel.ll
index 7f86462af3f..264bd134e87 100644
--- a/polly/test/Isl/CodeGen/LoopParallelMD/single_loop_param_parallel.ll
+++ b/polly/test/Isl/CodeGen/LoopParallelMD/single_loop_param_parallel.ll
@@ -62,7 +62,7 @@ loop.body:
%loadoffset1 = mul nsw i64 %i, 2
%loadoffset2 = add nsw i64 %loadoffset1, 1
%scevgepload = getelementptr [1024 x i32], [1024 x i32]* @A, i64 0, i64 %loadoffset2
- %val = load i32* %scevgepload
+ %val = load i32, i32* %scevgepload
%storeoffset = mul i64 %i, 2
%scevgepstore = getelementptr [1024 x i32], [1024 x i32]* @A, i64 0, i64 %storeoffset
store i32 %val, i32* %scevgepstore
@@ -82,6 +82,6 @@ ret:
; SEQUENTIAL-NOT: !llvm.loop
; PARALLEL: @test-two
-; PARALLEL: %val_p_scalar_ = load i32* %scevgep, {{[ ._!,a-zA-Z0-9]*}}, !llvm.mem.parallel_loop_access ![[LoopID:[0-9]*]]
+; PARALLEL: %val_p_scalar_ = load i32, i32* %scevgep, {{[ ._!,a-zA-Z0-9]*}}, !llvm.mem.parallel_loop_access ![[LoopID:[0-9]*]]
; PARALLEL: store i32 %val_p_scalar_, i32* %scevgep1, {{[ ._!,a-zA-Z0-9]*}}, !llvm.mem.parallel_loop_access ![[LoopID]]
; PARALLEL: br i1 %polly.loop_cond, label %polly.loop_header, label %polly.loop_exit, !llvm.loop ![[LoopID]]
diff --git a/polly/test/Isl/CodeGen/MemAccess/codegen_constant_offset.ll b/polly/test/Isl/CodeGen/MemAccess/codegen_constant_offset.ll
index e2b8841574c..943516c810d 100644
--- a/polly/test/Isl/CodeGen/MemAccess/codegen_constant_offset.ll
+++ b/polly/test/Isl/CodeGen/MemAccess/codegen_constant_offset.ll
@@ -27,8 +27,8 @@ for.cond: ; preds = %for.inc, %entry
br i1 %exitcond, label %for.body, label %for.end
for.body: ; preds = %for.cond
- %tmp2 = load i32* %arrayidx, align 4
- %tmp5 = load i32* %arrayidx4, align 4
+ %tmp2 = load i32, i32* %arrayidx, align 4
+ %tmp5 = load i32, i32* %arrayidx4, align 4
%add = add nsw i32 %tmp2, %tmp5
store i32 %add, i32* getelementptr inbounds ([100 x i32]* @A, i32 0, i32 13), align 4
br label %for.inc
@@ -40,4 +40,4 @@ for.inc: ; preds = %for.body
for.end: ; preds = %for.cond
ret i32 0
}
-; CHECK: load i32* getelementptr inbounds ([100 x i32]* @A, i{{(32|64)}} 0, i{{(32|64)}} 10)
+; CHECK: load i32, i32* getelementptr inbounds ([100 x i32]* @A, i{{(32|64)}} 0, i{{(32|64)}} 10)
diff --git a/polly/test/Isl/CodeGen/MemAccess/codegen_simple.ll b/polly/test/Isl/CodeGen/MemAccess/codegen_simple.ll
index 6baaad1a776..ad25bf722d3 100644
--- a/polly/test/Isl/CodeGen/MemAccess/codegen_simple.ll
+++ b/polly/test/Isl/CodeGen/MemAccess/codegen_simple.ll
@@ -27,8 +27,8 @@ for.cond: ; preds = %for.inc, %entry
br i1 %exitcond, label %for.body, label %for.end
for.body: ; preds = %for.cond
- %tmp2 = load i32* %arrayidx, align 4
- %tmp5 = load i32* %arrayidx4, align 4
+ %tmp2 = load i32, i32* %arrayidx, align 4
+ %tmp5 = load i32, i32* %arrayidx4, align 4
%add = add nsw i32 %tmp2, %tmp5
store i32 %add, i32* getelementptr inbounds ([100 x i32]* @A, i32 0, i32 13), align 4
br label %for.inc
@@ -40,4 +40,4 @@ for.inc: ; preds = %for.body
for.end: ; preds = %for.cond
ret i32 0
}
-; CHECK: load i32* getelementptr inbounds ([100 x i32]* @A, i{{(32|64)}} 0, i{{(32|64)}} 0)
+; CHECK: load i32, i32* getelementptr inbounds ([100 x i32]* @A, i{{(32|64)}} 0, i{{(32|64)}} 0)
diff --git a/polly/test/Isl/CodeGen/MemAccess/codegen_simple_float.ll b/polly/test/Isl/CodeGen/MemAccess/codegen_simple_float.ll
index 0ed7dd7890a..2fcf09274a1 100644
--- a/polly/test/Isl/CodeGen/MemAccess/codegen_simple_float.ll
+++ b/polly/test/Isl/CodeGen/MemAccess/codegen_simple_float.ll
@@ -25,8 +25,8 @@ for.cond: ; preds = %for.inc, %entry
br i1 %exitcond, label %for.body, label %for.end
for.body: ; preds = %for.cond
- %tmp2 = load float* %arrayidx, align 4
- %tmp5 = load float* %arrayidx4, align 4
+ %tmp2 = load float, float* %arrayidx, align 4
+ %tmp5 = load float, float* %arrayidx4, align 4
%add = fadd float %tmp2, %tmp5
store float %add, float* getelementptr inbounds ([100 x float]* @A, i32 0, i32 13), align 4
br label %for.inc
@@ -38,4 +38,4 @@ for.inc: ; preds = %for.body
for.end: ; preds = %for.cond
ret i32 0
}
-; CHECK: load float* getelementptr inbounds ([100 x float]* @A, i{{(32|64)}} 0, i{{(32|64)}} 0)
+; CHECK: load float, float* getelementptr inbounds ([100 x float]* @A, i{{(32|64)}} 0, i{{(32|64)}} 0)
diff --git a/polly/test/Isl/CodeGen/MemAccess/default_aligned_new_access_function.ll b/polly/test/Isl/CodeGen/MemAccess/default_aligned_new_access_function.ll
index f823307c523..dc425a69848 100644
--- a/polly/test/Isl/CodeGen/MemAccess/default_aligned_new_access_function.ll
+++ b/polly/test/Isl/CodeGen/MemAccess/default_aligned_new_access_function.ll
@@ -26,7 +26,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%tmp = shl nsw i64 %indvars.iv, 1
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %tmp
- %tmp4 = load i32* %arrayidx, align 4
+ %tmp4 = load i32, i32* %arrayidx, align 4
%tmp5 = shl nsw i64 %indvars.iv, 1
%arrayidx3 = getelementptr inbounds i32, i32* %A, i64 %tmp5
store i32 %tmp4, i32* %arrayidx3, align 4
diff --git a/polly/test/Isl/CodeGen/MemAccess/simple_stride_test.ll b/polly/test/Isl/CodeGen/MemAccess/simple_stride_test.ll
index 5a5faaaa271..ff17bbcebb4 100644
--- a/polly/test/Isl/CodeGen/MemAccess/simple_stride_test.ll
+++ b/polly/test/Isl/CodeGen/MemAccess/simple_stride_test.ll
@@ -6,7 +6,7 @@
;
; CHECK: %polly.access.B = getelementptr i32, i32* %B, i64 0
; CHECK: %[[BC:[._a-zA-Z0-9]*]] = bitcast i32* %polly.access.B to <1 x i32>*
-; CHECK: %[[LD:[._a-zA-Z0-9]*]] = load <1 x i32>* %[[BC]], align 8
+; CHECK: %[[LD:[._a-zA-Z0-9]*]] = load <1 x i32>, <1 x i32>* %[[BC]], align 8
; CHECK: %[[SV:[._a-zA-Z0-9]*]] = shufflevector <1 x i32> %[[LD]], <1 x i32> %[[LD]], <16 x i32> zeroinitializer
;
; CHECK: %polly.access.A = getelementptr i32, i32* %A, i64 0
@@ -32,7 +32,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%tmp = shl nsw i64 %indvars.iv, 1
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %tmp
- %tmp4 = load i32* %arrayidx, align 4
+ %tmp4 = load i32, i32* %arrayidx, align 4
%tmp5 = shl nsw i64 %indvars.iv, 1
%arrayidx3 = getelementptr inbounds i32, i32* %A, i64 %tmp5
store i32 %tmp4, i32* %arrayidx3, align 4
diff --git a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll
index d3e66ce232f..02dd7ea8ded 100644
--- a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll
@@ -25,7 +25,7 @@ entry:
for.body:
%indvar = phi i64 [ %indvar.next, %for.body ], [ 0, %entry ]
%arrayidx = getelementptr inbounds i64*, i64** %tmp, i64 0
- %tmp1 = load i64** %arrayidx, align 8
+ %tmp1 = load i64*, i64** %arrayidx, align 8
%arrayidx.2 = getelementptr inbounds i64, i64* %tmp1, i64 %indvar
store i64 1, i64* %arrayidx.2, align 4
%indvar.next = add nsw i64 %indvar, 1
@@ -53,7 +53,7 @@ entry:
for.body:
%indvar = phi i64 [ %indvar.next, %for.body ], [ 0, %entry ]
- %tmp1 = load i64** %arrayidx, align 8
+ %tmp1 = load i64*, i64** %arrayidx, align 8
%arrayidx.2 = getelementptr inbounds i64, i64* %tmp1, i64 %indvar
store i64 1, i64* %arrayidx.2, align 4
%indvar.next = add nsw i64 %indvar, 1
diff --git a/polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll b/polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
index 9524583a05f..ca47bebc7dc 100644
--- a/polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
@@ -35,9 +35,9 @@
; IR-LABEL: @loop_references_outer_ids.polly.subfn(i8* %polly.par.userContext)
; IR: %polly.par.userContext1 = bitcast i8* %polly.par.userContext to { i64, i64 }*
; IR-NEXT: %[[R3:[0-9]+]] = getelementptr inbounds { i64, i64 }, { i64, i64 }* %polly.par.userContext1, i32 0, i32 0
-; IR-NEXT: %[[R4:[0-9]+]] = load i64* %[[R3]]
+; IR-NEXT: %[[R4:[0-9]+]] = load i64, i64* %[[R3]]
; IR-NEXT: %[[R5:[0-9]+]] = getelementptr inbounds { i64, i64 }, { i64, i64 }* %polly.par.userContext1, i32 0, i32 1
-; IR-NEXT: %[[R6:[0-9]+]] = load i64* %[[R5]]
+; IR-NEXT: %[[R6:[0-9]+]] = load i64, i64* %[[R5]]
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
@@ -74,7 +74,7 @@ for.body6: ; preds = %for.cond4
%add8 = add nsw i64 %add7, %k.0
%conv = sitofp i64 %add8 to float
%arrayidx = getelementptr inbounds [100 x float], [100 x float]* @A, i64 0, i64 %j.0
- %tmp = load float* %arrayidx, align 4
+ %tmp = load float, float* %arrayidx, align 4
%add9 = fadd float %tmp, %conv
store float %add9, float* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/CodeGen/OpenMP/single_loop.ll b/polly/test/Isl/CodeGen/OpenMP/single_loop.ll
index 9a1fa5d2b88..9cefb549112 100644
--- a/polly/test/Isl/CodeGen/OpenMP/single_loop.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/single_loop.ll
@@ -60,8 +60,8 @@
; IR-NEXT: br i1 %[[cmp]], label %polly.par.loadIVBounds, label %polly.par.exit
; IR-LABEL: polly.par.loadIVBounds:
-; IR-NEXT: %polly.par.LB = load i64* %polly.par.LBPtr
-; IR-NEXT: %polly.par.UB = load i64* %polly.par.UBPtr
+; IR-NEXT: %polly.par.LB = load i64, i64* %polly.par.LBPtr
+; IR-NEXT: %polly.par.UB = load i64, i64* %polly.par.UBPtr
; IR-NEXT: %polly.par.UBAdjusted = sub i64 %polly.par.UB, 1
; IR-NEXT: br label %polly.loop_preheader
diff --git a/polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll b/polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll
index 98fca4e65a5..b0ffd01f9ce 100644
--- a/polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll
@@ -29,9 +29,9 @@ for.i:
br i1 %exitcond, label %S, label %exit
S:
- %ptr = load float** %A, !tbaa !2
+ %ptr = load float*, float** %A, !tbaa !2
%scevgep = getelementptr float, float* %ptr, i64 %indvar
- %val = load float* %scevgep, !tbaa !6
+ %val = load float, float* %scevgep, !tbaa !6
%sum = fadd float %val, 1.0
store float %sum, float* %scevgep, !tbaa !6
br label %for.inc
diff --git a/polly/test/Isl/CodeGen/aliasing_different_base_and_access_type.ll b/polly/test/Isl/CodeGen/aliasing_different_base_and_access_type.ll
index c9eea5f8199..d60c7f92c87 100644
--- a/polly/test/Isl/CodeGen/aliasing_different_base_and_access_type.ll
+++ b/polly/test/Isl/CodeGen/aliasing_different_base_and_access_type.ll
@@ -28,7 +28,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%tmp = bitcast i32* %B to i16*
%arrayidx = getelementptr inbounds i16, i16* %tmp, i64 %indvars.iv
- %tmp1 = load i16* %arrayidx, align 2
+ %tmp1 = load i16, i16* %arrayidx, align 2
%conv = sext i16 %tmp1 to i32
%arrayidx2 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %conv, i32* %arrayidx2, align 4
diff --git a/polly/test/Isl/CodeGen/aliasing_different_pointer_types.ll b/polly/test/Isl/CodeGen/aliasing_different_pointer_types.ll
index cfa8238c1f9..6ae6ac7855a 100644
--- a/polly/test/Isl/CodeGen/aliasing_different_pointer_types.ll
+++ b/polly/test/Isl/CodeGen/aliasing_different_pointer_types.ll
@@ -36,7 +36,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds float*, float** %B, i64 %indvars.iv
- %tmp = load float** %arrayidx, align 8
+ %tmp = load float*, float** %arrayidx, align 8
%tmp1 = bitcast float* %tmp to double*
%arrayidx2 = getelementptr inbounds double*, double** %A, i64 %indvars.iv
store double* %tmp1, double** %arrayidx2, align 8
diff --git a/polly/test/Isl/CodeGen/aliasing_multidimensional_access.ll b/polly/test/Isl/CodeGen/aliasing_multidimensional_access.ll
index e94bd990a10..4cdd1f9aa4c 100644
--- a/polly/test/Isl/CodeGen/aliasing_multidimensional_access.ll
+++ b/polly/test/Isl/CodeGen/aliasing_multidimensional_access.ll
@@ -44,7 +44,7 @@ for.cond4: ; preds = %for.inc, %for.body3
for.body6: ; preds = %for.cond4
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %k.0
- %tmp3 = load i32* %arrayidx, align 2
+ %tmp3 = load i32, i32* %arrayidx, align 2
%conv = sitofp i32 %tmp3 to double
%tmp4 = mul nuw i64 %m, %p
%tmp5 = mul nsw i64 %i.0, %tmp4
diff --git a/polly/test/Isl/CodeGen/aliasing_parametric_simple_1.ll b/polly/test/Isl/CodeGen/aliasing_parametric_simple_1.ll
index f8f3dc5345b..a9495a07128 100644
--- a/polly/test/Isl/CodeGen/aliasing_parametric_simple_1.ll
+++ b/polly/test/Isl/CodeGen/aliasing_parametric_simple_1.ll
@@ -31,7 +31,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%idxprom = sext i32 %c to i64
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %idxprom
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx2 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp, i32* %arrayidx2, align 4
br label %for.inc
diff --git a/polly/test/Isl/CodeGen/aliasing_parametric_simple_2.ll b/polly/test/Isl/CodeGen/aliasing_parametric_simple_2.ll
index 8c74325919a..f3ebaa2c9c0 100644
--- a/polly/test/Isl/CodeGen/aliasing_parametric_simple_2.ll
+++ b/polly/test/Isl/CodeGen/aliasing_parametric_simple_2.ll
@@ -40,9 +40,9 @@ for.body: ; preds = %for.cond
%sub = add nsw i32 %c, -10
%idxprom = sext i32 %sub to i64
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %idxprom
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx1 = getelementptr inbounds i32, i32* %B, i64 5
- %tmp1 = load i32* %arrayidx1, align 4
+ %tmp1 = load i32, i32* %arrayidx1, align 4
%add = add nsw i32 %tmp, %tmp1
%arrayidx3 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %add, i32* %arrayidx3, align 4
diff --git a/polly/test/Isl/CodeGen/aliasing_struct_element.ll b/polly/test/Isl/CodeGen/aliasing_struct_element.ll
index 0cc28d4f4aa..f70fa9de8f4 100644
--- a/polly/test/Isl/CodeGen/aliasing_struct_element.ll
+++ b/polly/test/Isl/CodeGen/aliasing_struct_element.ll
@@ -38,7 +38,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds %struct.st, %struct.st* %S, i64 0, i32 1, i64 %indvars.iv
- %tmp = load i8* %arrayidx, align 1
+ %tmp = load i8, i8* %arrayidx, align 1
%conv = sext i8 %tmp to i32
%arrayidx2 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %conv, i32* %arrayidx2, align 4
diff --git a/polly/test/Isl/CodeGen/annotated_alias_scopes.ll b/polly/test/Isl/CodeGen/annotated_alias_scopes.ll
index 754541f0aeb..556223580c7 100644
--- a/polly/test/Isl/CodeGen/annotated_alias_scopes.ll
+++ b/polly/test/Isl/CodeGen/annotated_alias_scopes.ll
@@ -5,9 +5,9 @@
;
; SCOPES-LABEL: polly.stmt.for.body:
; SCOPES: %[[BIdx:[._a-zA-Z0-9]*]] = getelementptr{{.*}} i32* %B, i64 %polly.indvar
-; SCOPES: load i32* %[[BIdx]], align 4, !alias.scope ![[AliasScopeB:[0-9]*]], !noalias ![[NoAliasB:[0-9]*]]
+; SCOPES: load i32, i32* %[[BIdx]], align 4, !alias.scope ![[AliasScopeB:[0-9]*]], !noalias ![[NoAliasB:[0-9]*]]
; SCOPES: %[[CIdx:[._a-zA-Z0-9]*]] = getelementptr{{.*}} float* %C, i64 %polly.indvar
-; SCOPES: load float* %[[CIdx]], align 4, !alias.scope ![[AliasScopeC:[0-9]*]], !noalias ![[NoAliasC:[0-9]*]]
+; SCOPES: load float, float* %[[CIdx]], align 4, !alias.scope ![[AliasScopeC:[0-9]*]], !noalias ![[NoAliasC:[0-9]*]]
; SCOPES: %[[AIdx:[._a-zA-Z0-9]*]] = getelementptr{{.*}} i32* %A, i64 %polly.indvar
; SCOPES: store i32 %{{[._a-zA-Z0-9]*}}, i32* %[[AIdx]], align 4, !alias.scope ![[AliasScopeA:[0-9]*]], !noalias ![[NoAliasA:[0-9]*]]
;
@@ -28,11 +28,11 @@
; SCOPES: }
;
; NOSCOPES: %[[BIdx:[._a-zA-Z0-9]*]] = getelementptr{{.*}} i32* %B, i64 %polly.indvar
-; NOSCOPES: load i32* %[[BIdx]]
+; NOSCOPES: load i32, i32* %[[BIdx]]
; NOSCOPES-NOT: alias.scope
; NOSCOPES-NOT: noalias
; NOSCOPES: %[[CIdx:[._a-zA-Z0-9]*]] = getelementptr{{.*}} float* %C, i64 %polly.indvar
-; NOSCOPES: load float* %[[CIdx]]
+; NOSCOPES: load float, float* %[[CIdx]]
; NOSCOPES-NOT: alias.scope
; NOSCOPES-NOT: noalias
; NOSCOPES: %[[AIdx:[._a-zA-Z0-9]*]] = getelementptr{{.*}} i32* %A, i64 %polly.indvar
@@ -60,10 +60,10 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %indvars.iv
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%conv = sitofp i32 %tmp to float
%arrayidx2 = getelementptr inbounds float, float* %C, i64 %indvars.iv
- %tmp1 = load float* %arrayidx2, align 4
+ %tmp1 = load float, float* %arrayidx2, align 4
%add = fadd fast float %conv, %tmp1
%conv3 = fptosi float %add to i32
%arrayidx5 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
diff --git a/polly/test/Isl/CodeGen/blas_sscal_simplified.ll b/polly/test/Isl/CodeGen/blas_sscal_simplified.ll
index 0ba55dfe5a3..98895e39fbf 100644
--- a/polly/test/Isl/CodeGen/blas_sscal_simplified.ll
+++ b/polly/test/Isl/CodeGen/blas_sscal_simplified.ll
@@ -29,7 +29,7 @@ for.body.lr.ph: ; preds = %entry.split
for.body: ; preds = %for.body.lr.ph, %for.body
%indvar = phi i64 [ 0, %for.body.lr.ph ], [ %indvar.next, %for.body ]
%sx.addr.02 = getelementptr float, float* %sx, i64 %indvar
- %tmp = load float* %sx.addr.02, align 4
+ %tmp = load float, float* %sx.addr.02, align 4
%mul = fmul float %tmp, %sa
store float %mul, float* %sx.addr.02, align 4
%indvar.next = add i64 %indvar, 1
diff --git a/polly/test/Isl/CodeGen/constant_condition.ll b/polly/test/Isl/CodeGen/constant_condition.ll
index 5d25c1872d4..61a67184c31 100644
--- a/polly/test/Isl/CodeGen/constant_condition.ll
+++ b/polly/test/Isl/CodeGen/constant_condition.ll
@@ -48,7 +48,7 @@ define i32 @main() nounwind {
bb:
store i32 2, i32* getelementptr inbounds ([1 x i32]* @A, i32 0, i32 0)
call void @constant_condition()
- %tmp = load i32* getelementptr inbounds ([1 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
+ %tmp = load i32, i32* getelementptr inbounds ([1 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
ret i32 %tmp
}
diff --git a/polly/test/Isl/CodeGen/intrinsics_lifetime.ll b/polly/test/Isl/CodeGen/intrinsics_lifetime.ll
index 9d198ee8602..59a42060530 100644
--- a/polly/test/Isl/CodeGen/intrinsics_lifetime.ll
+++ b/polly/test/Isl/CodeGen/intrinsics_lifetime.ll
@@ -49,9 +49,9 @@ for.cond2: ; preds = %for.inc, %for.body
for.body4: ; preds = %for.cond2
%arrayidx = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv1
- %tmp6 = load i32* %arrayidx, align 4
+ %tmp6 = load i32, i32* %arrayidx, align 4
%arrayidx6 = getelementptr inbounds [1024 x i32], [1024 x i32]* %tmp, i64 0, i64 %indvars.iv3
- %tmp7 = load i32* %arrayidx6, align 4
+ %tmp7 = load i32, i32* %arrayidx6, align 4
%add = add nsw i32 %tmp7, %tmp6
store i32 %add, i32* %arrayidx6, align 4
br label %for.inc
@@ -62,7 +62,7 @@ for.inc: ; preds = %for.body4
for.end: ; preds = %for.cond2
%arrayidx8 = getelementptr inbounds [1024 x i32], [1024 x i32]* %tmp, i64 0, i64 %indvars.iv3
- %tmp8 = load i32* %arrayidx8, align 4
+ %tmp8 = load i32, i32* %arrayidx8, align 4
%arrayidx10 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv3
store i32 %tmp8, i32* %arrayidx10, align 4
call void @llvm.lifetime.end(i64 4096, i8* %tmp3) #1
diff --git a/polly/test/Isl/CodeGen/intrinsics_misc.ll b/polly/test/Isl/CodeGen/intrinsics_misc.ll
index c80494ad5a3..22b43b77028 100644
--- a/polly/test/Isl/CodeGen/intrinsics_misc.ll
+++ b/polly/test/Isl/CodeGen/intrinsics_misc.ll
@@ -54,10 +54,10 @@ for.body4: ; preds = %for.cond2
call void @llvm.assume(i1 %exitcond)
call i1 @llvm.expect.i1(i1 %exitcond, i1 1)
%arrayidx = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv1
- %tmp6 = load i32* %arrayidx, align 4
+ %tmp6 = load i32, i32* %arrayidx, align 4
%arrayidx6 = getelementptr inbounds [1024 x i32], [1024 x i32]* %tmp, i64 0, i64 %indvars.iv3
call void @llvm.donothing()
- %tmp7 = load i32* %arrayidx6, align 4
+ %tmp7 = load i32, i32* %arrayidx6, align 4
%add = add nsw i32 %tmp7, %tmp6
store i32 %add, i32* %arrayidx6, align 4
br label %for.inc
@@ -68,7 +68,7 @@ for.inc: ; preds = %for.body4
for.end: ; preds = %for.cond2
%arrayidx8 = getelementptr inbounds [1024 x i32], [1024 x i32]* %tmp, i64 0, i64 %indvars.iv3
- %tmp8 = load i32* %arrayidx8, align 4
+ %tmp8 = load i32, i32* %arrayidx8, align 4
%arrayidx10 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv3
call void @llvm.invariant.end({}* %lis, i64 4096, i8* %tmp3) #1
store i32 %tmp8, i32* %arrayidx10, align 4
diff --git a/polly/test/Isl/CodeGen/loop_with_condition.ll b/polly/test/Isl/CodeGen/loop_with_condition.ll
index e9eb7236abd..cf6805b3575 100644
--- a/polly/test/Isl/CodeGen/loop_with_condition.ll
+++ b/polly/test/Isl/CodeGen/loop_with_condition.ll
@@ -98,7 +98,7 @@ define i32 @main() nounwind {
br i1 %2, label %3, label %9
; <label>:3 ; preds = %1
- %4 = load i32* %scevgep3 ; <i32> [#uses=1]
+ %4 = load i32, i32* %scevgep3 ; <i32> [#uses=1]
%5 = icmp ne i32 %4, 3 ; <i1> [#uses=1]
br i1 %5, label %6, label %7
@@ -127,7 +127,7 @@ define i32 @main() nounwind {
br i1 %13, label %14, label %18
; <label>:14 ; preds = %12
- %15 = load i32* %scevgep ; <i32> [#uses=1]
+ %15 = load i32, i32* %scevgep ; <i32> [#uses=1]
%16 = icmp ne i32 %15, 1 ; <i1> [#uses=1]
br i1 %16, label %17, label %18
@@ -139,7 +139,7 @@ define i32 @main() nounwind {
br i1 %19, label %20, label %24
; <label>:20 ; preds = %18
- %21 = load i32* %scevgep ; <i32> [#uses=1]
+ %21 = load i32, i32* %scevgep ; <i32> [#uses=1]
%22 = icmp ne i32 %21, 2 ; <i1> [#uses=1]
br i1 %22, label %23, label %24
diff --git a/polly/test/Isl/CodeGen/loop_with_condition_2.ll b/polly/test/Isl/CodeGen/loop_with_condition_2.ll
index bd44e0fbaeb..2b1c7f996b0 100644
--- a/polly/test/Isl/CodeGen/loop_with_condition_2.ll
+++ b/polly/test/Isl/CodeGen/loop_with_condition_2.ll
@@ -74,7 +74,7 @@ for.cond: ; preds = %for.inc, %entry
br i1 %cmp, label %for.body, label %for.end
for.body: ; preds = %for.cond
- %tmp3 = load i32* %arrayidx
+ %tmp3 = load i32, i32* %arrayidx
%cmp4 = icmp ne i32 %tmp3, 3
br i1 %cmp4, label %if.then, label %if.end
@@ -102,7 +102,7 @@ for.body9: ; preds = %for.cond6
br i1 true, label %land.lhs.true, label %if.else
land.lhs.true: ; preds = %for.body9
- %tmp16 = load i32* %arrayidx15
+ %tmp16 = load i32, i32* %arrayidx15
%cmp17 = icmp ne i32 %tmp16, 1
br i1 %cmp17, label %if.then18, label %if.else
@@ -113,7 +113,7 @@ if.else: ; preds = %land.lhs.true, %for
br i1 false, label %land.lhs.true23, label %if.end30
land.lhs.true23: ; preds = %if.else
- %tmp27 = load i32* %arrayidx15
+ %tmp27 = load i32, i32* %arrayidx15
%cmp28 = icmp ne i32 %tmp27, 2
br i1 %cmp28, label %if.then29, label %if.end30
diff --git a/polly/test/Isl/CodeGen/loop_with_condition_ineq.ll b/polly/test/Isl/CodeGen/loop_with_condition_ineq.ll
index 971c58b0afc..c0251ea6357 100644
--- a/polly/test/Isl/CodeGen/loop_with_condition_ineq.ll
+++ b/polly/test/Isl/CodeGen/loop_with_condition_ineq.ll
@@ -98,7 +98,7 @@ define i32 @main() nounwind {
br i1 %2, label %3, label %9
; <label>:3 ; preds = %1
- %4 = load i32* %scevgep3 ; <i32> [#uses=1]
+ %4 = load i32, i32* %scevgep3 ; <i32> [#uses=1]
%5 = icmp ne i32 %4, 3 ; <i1> [#uses=1]
br i1 %5, label %6, label %7
@@ -127,7 +127,7 @@ define i32 @main() nounwind {
br i1 %13, label %14, label %18
; <label>:14 ; preds = %12
- %15 = load i32* %scevgep ; <i32> [#uses=1]
+ %15 = load i32, i32* %scevgep ; <i32> [#uses=1]
%16 = icmp ne i32 %15, 1 ; <i1> [#uses=1]
br i1 %16, label %17, label %18
@@ -139,7 +139,7 @@ define i32 @main() nounwind {
br i1 %19, label %20, label %24
; <label>:20 ; preds = %18
- %21 = load i32* %scevgep ; <i32> [#uses=1]
+ %21 = load i32, i32* %scevgep ; <i32> [#uses=1]
%22 = icmp ne i32 %21, 2 ; <i1> [#uses=1]
br i1 %22, label %23, label %24
diff --git a/polly/test/Isl/CodeGen/loop_with_condition_nested.ll b/polly/test/Isl/CodeGen/loop_with_condition_nested.ll
index 9a5fb2b0e9c..c249d95289c 100644
--- a/polly/test/Isl/CodeGen/loop_with_condition_nested.ll
+++ b/polly/test/Isl/CodeGen/loop_with_condition_nested.ll
@@ -113,7 +113,7 @@ define i32 @main() nounwind {
br i1 %2, label %3, label %9
; <label>:3 ; preds = %1
- %4 = load i32* %scevgep3 ; <i32> [#uses=1]
+ %4 = load i32, i32* %scevgep3 ; <i32> [#uses=1]
%5 = icmp ne i32 %4, 3 ; <i1> [#uses=1]
br i1 %5, label %6, label %7
@@ -146,7 +146,7 @@ define i32 @main() nounwind {
br i1 %15, label %16, label %20
; <label>:16 ; preds = %14
- %17 = load i32* %scevgep ; <i32> [#uses=1]
+ %17 = load i32, i32* %scevgep ; <i32> [#uses=1]
%18 = icmp ne i32 %17, 1 ; <i1> [#uses=1]
br i1 %18, label %19, label %20
@@ -162,7 +162,7 @@ define i32 @main() nounwind {
br i1 %23, label %24, label %28
; <label>:24 ; preds = %22
- %25 = load i32* %scevgep ; <i32> [#uses=1]
+ %25 = load i32, i32* %scevgep ; <i32> [#uses=1]
%26 = icmp ne i32 %25, 2 ; <i1> [#uses=1]
br i1 %26, label %27, label %28
@@ -174,7 +174,7 @@ define i32 @main() nounwind {
br i1 %29, label %30, label %34
; <label>:30 ; preds = %28
- %31 = load i32* %scevgep ; <i32> [#uses=1]
+ %31 = load i32, i32* %scevgep ; <i32> [#uses=1]
%32 = icmp ne i32 %31, 0 ; <i1> [#uses=1]
br i1 %32, label %33, label %34
diff --git a/polly/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll b/polly/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll
index 03c914781df..1692f949c39 100644
--- a/polly/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll
+++ b/polly/test/Isl/CodeGen/non-affine-subregion-dominance-reuse.ll
@@ -30,7 +30,7 @@ bb1: ; preds = %bb22, %bb
bb2: ; preds = %bb1
%tmp = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp3 = load i32* %tmp, align 4
+ %tmp3 = load i32, i32* %tmp, align 4
%tmp4 = icmp eq i32 %tmp3, 0
br i1 %tmp4, label %bb21, label %bb5
@@ -44,7 +44,7 @@ bb7: ; preds = %bb5
bb8: ; preds = %bb7
%tmp9 = add nsw i64 %indvars.iv, -1
%tmp10 = getelementptr inbounds i32, i32* %B, i64 %tmp9
- %tmp11 = load i32* %tmp10, align 4
+ %tmp11 = load i32, i32* %tmp10, align 4
%tmp12 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp11, i32* %tmp12, align 4
br label %bb13
@@ -55,9 +55,9 @@ bb13: ; preds = %bb8, %bb5
bb14: ; preds = %bb13
%tmp15 = add nsw i64 %indvars.iv, -1
%tmp16 = getelementptr inbounds i32, i32* %B, i64 %tmp15
- %tmp17 = load i32* %tmp16, align 4
+ %tmp17 = load i32, i32* %tmp16, align 4
%tmp18 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp19 = load i32* %tmp18, align 4
+ %tmp19 = load i32, i32* %tmp18, align 4
%tmp20 = add nsw i32 %tmp19, %tmp17
store i32 %tmp20, i32* %tmp18, align 4
br label %bb21
diff --git a/polly/test/Isl/CodeGen/non_affine_float_compare.ll b/polly/test/Isl/CodeGen/non_affine_float_compare.ll
index 65aa2d2afdc..d62e1e691ee 100644
--- a/polly/test/Isl/CodeGen/non_affine_float_compare.ll
+++ b/polly/test/Isl/CodeGen/non_affine_float_compare.ll
@@ -10,15 +10,15 @@
;
; CHECK: polly.stmt.bb2:
; CHECK: %scevgep[[R0:[0-9]*]] = getelementptr float, float* %A, i64 %polly.indvar
-; CHECK: %tmp3_p_scalar_ = load float* %scevgep[[R0]], align 4, !alias.scope !0, !noalias !2
+; CHECK: %tmp3_p_scalar_ = load float, float* %scevgep[[R0]], align 4, !alias.scope !0, !noalias !2
; CHECK: %scevgep[[R2:[0-9]*]] = getelementptr float, float* %scevgep{{[0-9]*}}, i64 %polly.indvar
-; CHECK: %tmp6_p_scalar_ = load float* %scevgep[[R2]], align 4, !alias.scope !0, !noalias !2
+; CHECK: %tmp6_p_scalar_ = load float, float* %scevgep[[R2]], align 4, !alias.scope !0, !noalias !2
; CHECK: %p_tmp7 = fcmp oeq float %tmp3_p_scalar_, %tmp6_p_scalar_
; CHECK: br i1 %p_tmp7, label %polly.stmt.bb8, label %polly.stmt.bb12.[[R:[a-zA-Z_.0-9]*]]
; CHECK: polly.stmt.bb8:
; CHECK: %scevgep[[R3:[0-9]*]] = getelementptr float, float* %A, i64 %polly.indvar
-; CHECK: %tmp10_p_scalar_ = load float* %scevgep[[R3]], align 4, !alias.scope !0, !noalias !2
+; CHECK: %tmp10_p_scalar_ = load float, float* %scevgep[[R3]], align 4, !alias.scope !0, !noalias !2
; CHECK: %p_tmp11 = fadd float %tmp10_p_scalar_, 1.000000e+00
; CHECK: store float %p_tmp11, float* %scevgep[[R3]], align 4, !alias.scope !0, !noalias !2
; CHECK: br label %polly.stmt.bb12.[[R]]
@@ -28,7 +28,7 @@
; CHECK: polly.stmt.bb12:
; CHECK: %scevgep[[R4:[0-9]*]] = getelementptr float, float* %A, i64 %polly.indvar
-; CHECK: %tmp10b_p_scalar_ = load float* %scevgep[[R4]], align 4, !alias.scope !0, !noalias !2
+; CHECK: %tmp10b_p_scalar_ = load float, float* %scevgep[[R4]], align 4, !alias.scope !0, !noalias !2
; CHECK: %p_tmp11b = fadd float %tmp10b_p_scalar_, 1.000000e+00
; CHECK: store float %p_tmp11b, float* %scevgep[[R4]], align 4, !alias.scope !0, !noalias !2
; CHECK: %polly.indvar_next = add nsw i64 %polly.indvar, 1
@@ -48,23 +48,23 @@ bb1: ; preds = %bb13, %bb
bb2: ; preds = %bb1
%tmp = getelementptr inbounds float, float* %A, i64 %indvars.iv
- %tmp3 = load float* %tmp, align 4
+ %tmp3 = load float, float* %tmp, align 4
%tmp4 = add nsw i64 %indvars.iv, -1
%tmp5 = getelementptr inbounds float, float* %A, i64 %tmp4
- %tmp6 = load float* %tmp5, align 4
+ %tmp6 = load float, float* %tmp5, align 4
%tmp7 = fcmp oeq float %tmp3, %tmp6
br i1 %tmp7, label %bb8, label %bb12
bb8: ; preds = %bb2
%tmp9 = getelementptr inbounds float, float* %A, i64 %indvars.iv
- %tmp10 = load float* %tmp9, align 4
+ %tmp10 = load float, float* %tmp9, align 4
%tmp11 = fadd float %tmp10, 1.000000e+00
store float %tmp11, float* %tmp9, align 4
br label %bb12
bb12: ; preds = %bb8, %bb2
%tmp9b = getelementptr inbounds float, float* %A, i64 %indvars.iv
- %tmp10b = load float* %tmp9b, align 4
+ %tmp10b = load float, float* %tmp9b, align 4
%tmp11b = fadd float %tmp10b, 1.000000e+00
store float %tmp11b, float* %tmp9b, align 4
br label %bb13
diff --git a/polly/test/Isl/CodeGen/reduction.ll b/polly/test/Isl/CodeGen/reduction.ll
index 2165b12077e..2a305a55f3d 100644
--- a/polly/test/Isl/CodeGen/reduction.ll
+++ b/polly/test/Isl/CodeGen/reduction.ll
@@ -58,11 +58,11 @@ define i32 @main() nounwind {
br i1 %exitcond, label %8, label %15
; <label>:8 ; preds = %7
- %9 = load i32* %scevgep3 ; <i32> [#uses=1]
- %10 = load i32* %scevgep ; <i32> [#uses=1]
+ %9 = load i32, i32* %scevgep3 ; <i32> [#uses=1]
+ %10 = load i32, i32* %scevgep ; <i32> [#uses=1]
%11 = add nsw i32 %9, %10 ; <i32> [#uses=1]
store i32 %11, i32* %scevgep1
- %12 = load i32* %scevgep ; <i32> [#uses=1]
+ %12 = load i32, i32* %scevgep ; <i32> [#uses=1]
%13 = add nsw i32 %red.0, %12 ; <i32> [#uses=1]
br label %14
diff --git a/polly/test/Isl/CodeGen/reduction_2.ll b/polly/test/Isl/CodeGen/reduction_2.ll
index d353aa56f1c..62afc122ef4 100644
--- a/polly/test/Isl/CodeGen/reduction_2.ll
+++ b/polly/test/Isl/CodeGen/reduction_2.ll
@@ -56,14 +56,14 @@ for.cond: ; preds = %for.inc, %entry
br i1 %exitcond, label %for.body, label %for.end
for.body: ; preds = %for.cond
- %tmp10 = load i32* %arrayidx9 ; <i32> [#uses=1]
- %tmp16 = load i32* %arrayidx15 ; <i32> [#uses=1]
+ %tmp10 = load i32, i32* %arrayidx9 ; <i32> [#uses=1]
+ %tmp16 = load i32, i32* %arrayidx15 ; <i32> [#uses=1]
%add = add nsw i32 %tmp10, %tmp16 ; <i32> [#uses=1]
store i32 %add, i32* %arrayidx20
- %tmp26 = load i32* %arrayidx15 ; <i32> [#uses=1]
+ %tmp26 = load i32, i32* %arrayidx15 ; <i32> [#uses=1]
%arraydecay27 = getelementptr inbounds [1 x i32], [1 x i32]* %RED, i32 0, i32 0 ; <i32*> [#uses=1]
%arrayidx28 = getelementptr inbounds i32, i32* %arraydecay27, i64 0 ; <i32*> [#uses=2]
- %tmp29 = load i32* %arrayidx28 ; <i32> [#uses=1]
+ %tmp29 = load i32, i32* %arrayidx28 ; <i32> [#uses=1]
%add30 = add nsw i32 %tmp29, %tmp26 ; <i32> [#uses=1]
store i32 %add30, i32* %arrayidx28
br label %for.inc
@@ -75,7 +75,7 @@ for.inc: ; preds = %for.body
for.end: ; preds = %for.cond
%arraydecay32 = getelementptr inbounds [1 x i32], [1 x i32]* %RED, i32 0, i32 0 ; <i32*> [#uses=1]
%arrayidx33 = getelementptr inbounds i32, i32* %arraydecay32, i64 0 ; <i32*> [#uses=1]
- %tmp34 = load i32* %arrayidx33 ; <i32> [#uses=1]
+ %tmp34 = load i32, i32* %arrayidx33 ; <i32> [#uses=1]
%cmp35 = icmp ne i32 %tmp34, 382399368 ; <i1> [#uses=1]
br i1 %cmp35, label %if.then, label %if.end
diff --git a/polly/test/Isl/CodeGen/reduction_simple_binary.ll b/polly/test/Isl/CodeGen/reduction_simple_binary.ll
index f16013d0d84..bc9dce558d1 100644
--- a/polly/test/Isl/CodeGen/reduction_simple_binary.ll
+++ b/polly/test/Isl/CodeGen/reduction_simple_binary.ll
@@ -23,7 +23,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%add2 = add nsw i32 %i1.0, 3
- %tmp1 = load i32* @prod, align 4
+ %tmp1 = load i32, i32* @prod, align 4
%mul3 = mul nsw i32 %tmp1, %add2
store i32 %mul3, i32* @prod, align 4
br label %for.inc
diff --git a/polly/test/Isl/CodeGen/run-time-condition.ll b/polly/test/Isl/CodeGen/run-time-condition.ll
index 9a306ab3266..373a55474a5 100644
--- a/polly/test/Isl/CodeGen/run-time-condition.ll
+++ b/polly/test/Isl/CodeGen/run-time-condition.ll
@@ -14,7 +14,7 @@ for.cond: ; preds = %for.body, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i16, i16* %B, i64 0
- %load = load i16* %arrayidx
+ %load = load i16, i16* %arrayidx
%add10 = add nsw i16 %load, 1
%arrayidx13 = getelementptr inbounds i16, i16* %A, i64 %indvar
store i16 %add10, i16* %arrayidx13, align 2
diff --git a/polly/test/Isl/CodeGen/sequential_loops.ll b/polly/test/Isl/CodeGen/sequential_loops.ll
index a85141d7ca9..6b3cf7734ec 100644
--- a/polly/test/Isl/CodeGen/sequential_loops.ll
+++ b/polly/test/Isl/CodeGen/sequential_loops.ll
@@ -90,7 +90,7 @@ bb1: ; preds = %bb15, %bb
br i1 %tmp, label %bb2, label %bb16
bb2: ; preds = %bb1
- %tmp3 = load i32* %scevgep
+ %tmp3 = load i32, i32* %scevgep
%tmp4 = icmp ne i32 %tmp3, 1
br i1 %tmp4, label %bb5, label %bb8
@@ -102,7 +102,7 @@ bb7: ; preds = %bb5
br label %bb17
bb8: ; preds = %bb5, %bb2
- %tmp9 = load i32* %scevgep
+ %tmp9 = load i32, i32* %scevgep
%tmp10 = icmp ne i32 %tmp9, 2
br i1 %tmp10, label %bb11, label %bb14
diff --git a/polly/test/Isl/CodeGen/simple_nonaffine_loop.ll b/polly/test/Isl/CodeGen/simple_nonaffine_loop.ll
index 185b2178008..0cb5a427ac4 100644
--- a/polly/test/Isl/CodeGen/simple_nonaffine_loop.ll
+++ b/polly/test/Isl/CodeGen/simple_nonaffine_loop.ll
@@ -46,7 +46,7 @@ for.end: ; preds = %for.body
%mul2 = shl nsw i32 %rem, 10
%idxprom3 = sext i32 %mul2 to i64
%arrayidx4 = getelementptr inbounds [1048576 x i32], [1048576 x i32]* %A, i64 0, i64 %idxprom3
- %2 = load i32* %arrayidx4, align 16
+ %2 = load i32, i32* %arrayidx4, align 16
%call5 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([17 x i8]* @.str, i64 0, i64 0), i32 %2) nounwind
ret i32 0
}
diff --git a/polly/test/Isl/CodeGen/simple_vec_assign_scalar.ll b/polly/test/Isl/CodeGen/simple_vec_assign_scalar.ll
index 2d2cb5ad88f..58066a0280c 100644
--- a/polly/test/Isl/CodeGen/simple_vec_assign_scalar.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_assign_scalar.ll
@@ -34,7 +34,7 @@ bb2: ; preds = %bb5, %bb
br i1 %exitcond, label %bb3, label %bb6
bb3: ; preds = %bb2
- %tmp = load float* %scevgep1, align 4
+ %tmp = load float, float* %scevgep1, align 4
%tmp4 = fadd float %tmp, 1.000000e+00
store float %tmp4, float* %scevgep, align 4
br label %bb5
@@ -50,11 +50,11 @@ bb6: ; preds = %bb2
define i32 @main() nounwind {
bb:
call void @simple_vec_const()
- %tmp = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
+ %tmp = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
%tmp1 = fptosi float %tmp to i32
ret i32 %tmp1
}
-; CHECK: %tmp_p_vec_full = load <4 x float>* bitcast ([1024 x float]* @A to <4 x float>*), align 8, !alias.scope !0, !noalias !2
+; CHECK: %tmp_p_vec_full = load <4 x float>, <4 x float>* bitcast ([1024 x float]* @A to <4 x float>*), align 8, !alias.scope !0, !noalias !2
; CHECK: %tmp4p_vec = fadd <4 x float> %tmp_p_vec_full, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>
; CHECK: store <4 x float> %tmp4p_vec, <4 x float>* bitcast ([1024 x float]* @B to <4 x float>*), align 8, !alias.scope !3, !noalias !4
diff --git a/polly/test/Isl/CodeGen/simple_vec_assign_scalar_2.ll b/polly/test/Isl/CodeGen/simple_vec_assign_scalar_2.ll
index 3ddf4d1cb2c..6e78d5a59e7 100644
--- a/polly/test/Isl/CodeGen/simple_vec_assign_scalar_2.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_assign_scalar_2.ll
@@ -35,7 +35,7 @@ bb2: ; preds = %bb6, %bb
br i1 %exitcond, label %bb3, label %bb7
bb3: ; preds = %bb2
- %tmp = load float* %scevgep1, align 4
+ %tmp = load float, float* %scevgep1, align 4
%tmp4 = sitofp i32 %i.0 to float
%tmp5 = fadd float %tmp, %tmp4
store float %tmp5, float* %scevgep, align 4
@@ -52,7 +52,7 @@ bb7: ; preds = %bb2
define i32 @main() nounwind {
bb:
call void @simple_vec_const()
- %tmp = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
+ %tmp = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
%tmp1 = fptosi float %tmp to i32
ret i32 %tmp1
}
diff --git a/polly/test/Isl/CodeGen/simple_vec_call.ll b/polly/test/Isl/CodeGen/simple_vec_call.ll
index 78bf38e1608..ff8c90dc20c 100644
--- a/polly/test/Isl/CodeGen/simple_vec_call.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_call.ll
@@ -14,7 +14,7 @@ entry:
body:
%indvar = phi i64 [ 0, %entry ], [ %indvar_next, %body ]
%scevgep = getelementptr [1024 x float], [1024 x float]* @B, i64 0, i64 %indvar
- %value = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 0), align 16
+ %value = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 0), align 16
%result = tail call float @foo(float %value) nounwind
store float %result, float* %scevgep, align 4
%indvar_next = add i64 %indvar, 1
@@ -25,7 +25,7 @@ return:
ret void
}
-; CHECK: %value_p_splat_one = load <1 x float>* bitcast ([1024 x float]* @A to <1 x float>*), align 8
+; CHECK: %value_p_splat_one = load <1 x float>, <1 x float>* bitcast ([1024 x float]* @A to <1 x float>*), align 8
; CHECK: %value_p_splat = shufflevector <1 x float> %value_p_splat_one, <1 x float> %value_p_splat_one, <4 x i32> zeroinitializer
; CHECK: %0 = extractelement <4 x float> %value_p_splat, i32 0
; CHECK: %1 = extractelement <4 x float> %value_p_splat, i32 1
diff --git a/polly/test/Isl/CodeGen/simple_vec_call_2.ll b/polly/test/Isl/CodeGen/simple_vec_call_2.ll
index d2a01a53d77..011722fac50 100644
--- a/polly/test/Isl/CodeGen/simple_vec_call_2.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_call_2.ll
@@ -14,7 +14,7 @@ entry:
body:
%indvar = phi i64 [ 0, %entry ], [ %indvar_next, %body ]
%scevgep = getelementptr [1024 x float**], [1024 x float**]* @B, i64 0, i64 %indvar
- %value = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 0), align 16
+ %value = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 0), align 16
%result = tail call float** @foo(float %value) nounwind
store float** %result, float*** %scevgep, align 4
%indvar_next = add i64 %indvar, 1
@@ -25,7 +25,7 @@ return:
ret void
}
-; CHECK: %value_p_splat_one = load <1 x float>* bitcast ([1024 x float]* @A to <1 x float>*), align 8
+; CHECK: %value_p_splat_one = load <1 x float>, <1 x float>* bitcast ([1024 x float]* @A to <1 x float>*), align 8
; CHECK: %value_p_splat = shufflevector <1 x float> %value_p_splat_one, <1 x float> %value_p_splat_one, <4 x i32> zeroinitializer
; CHECK: %0 = extractelement <4 x float> %value_p_splat, i32 0
; CHECK: %1 = extractelement <4 x float> %value_p_splat, i32 1
diff --git a/polly/test/Isl/CodeGen/simple_vec_cast.ll b/polly/test/Isl/CodeGen/simple_vec_cast.ll
index 8007aebce13..ae1fe8d7af8 100644
--- a/polly/test/Isl/CodeGen/simple_vec_cast.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_cast.ll
@@ -16,7 +16,7 @@ bb1: ; preds = %bb3, %bb
br i1 %exitcond, label %bb2, label %bb4
bb2: ; preds = %bb1
- %tmp = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 0), align 16
+ %tmp = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 0), align 16
%tmp2 = fpext float %tmp to double
store double %tmp2, double* %scevgep, align 4
br label %bb3
@@ -29,7 +29,7 @@ bb4: ; preds = %bb1
ret void
}
-; CHECK: %tmp_p_splat_one = load <1 x float>* bitcast ([1024 x float]* @A to <1 x float>*), align 8, !alias.scope !0, !noalias !2
+; CHECK: %tmp_p_splat_one = load <1 x float>, <1 x float>* bitcast ([1024 x float]* @A to <1 x float>*), align 8, !alias.scope !0, !noalias !2
; CHECK: %tmp_p_splat = shufflevector <1 x float> %tmp_p_splat_one, <1 x float> %tmp_p_splat_one, <4 x i32> zeroinitializer
; CHECK: %0 = fpext <4 x float> %tmp_p_splat to <4 x double>
; CHECK: store <4 x double> %0, <4 x double>* bitcast ([1024 x double]* @B to <4 x double>*), align 8, !alias.scope !3, !noalias !4
diff --git a/polly/test/Isl/CodeGen/simple_vec_const.ll b/polly/test/Isl/CodeGen/simple_vec_const.ll
index fd4091fb5ea..f61a6ce89b5 100644
--- a/polly/test/Isl/CodeGen/simple_vec_const.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_const.ll
@@ -33,7 +33,7 @@ define void @simple_vec_const() nounwind {
br i1 %exitcond, label %2, label %5
; <label>:2 ; preds = %1
- %3 = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 0), align 16
+ %3 = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 0), align 16
store float %3, float* %scevgep, align 4
br label %4
@@ -47,11 +47,11 @@ define void @simple_vec_const() nounwind {
define i32 @main() nounwind {
call void @simple_vec_const()
- %1 = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
+ %1 = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
%2 = fptosi float %1 to i32
ret i32 %2
}
-; CHECK: load <1 x float>* bitcast ([1024 x float]* @A to <1 x float>*)
+; CHECK: load <1 x float>, <1 x float>* bitcast ([1024 x float]* @A to <1 x float>*)
; CHECK: shufflevector <1 x float> {{.*}}, <1 x float> {{.*}} <4 x i32> zeroinitializer
diff --git a/polly/test/Isl/CodeGen/simple_vec_large_width.ll b/polly/test/Isl/CodeGen/simple_vec_large_width.ll
index 8508e59046d..b44d01ceac1 100644
--- a/polly/test/Isl/CodeGen/simple_vec_large_width.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_large_width.ll
@@ -17,7 +17,7 @@ define void @simple_vec_large_width() nounwind {
br i1 %exitcond, label %2, label %5
; <label>:2 ; preds = %1
- %3 = load float* %scevgep1, align 4
+ %3 = load float, float* %scevgep1, align 4
store float %3, float* %scevgep, align 4
br label %4
@@ -31,10 +31,10 @@ define void @simple_vec_large_width() nounwind {
define i32 @main() nounwind {
call void @simple_vec_large_width()
- %1 = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
+ %1 = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
%2 = fptosi float %1 to i32
ret i32 %2
}
-; CHECK: [[VEC1:%[a-zA-Z0-9_]+_full]] = load <15 x float>*
+; CHECK: [[VEC1:%[a-zA-Z0-9_]+_full]] = load <15 x float>, <15 x float>*
; CHECK: store <15 x float> [[VEC1]]
diff --git a/polly/test/Isl/CodeGen/simple_vec_ptr_ptr_ty.ll b/polly/test/Isl/CodeGen/simple_vec_ptr_ptr_ty.ll
index 250baddce81..e84f9cae0d3 100644
--- a/polly/test/Isl/CodeGen/simple_vec_ptr_ptr_ty.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_ptr_ptr_ty.ll
@@ -14,7 +14,7 @@ entry:
body:
%indvar = phi i64 [ 0, %entry ], [ %indvar_next, %body ]
%scevgep = getelementptr [1024 x float**], [1024 x float**]* @B, i64 0, i64 %indvar
- %value = load float*** getelementptr inbounds ([1024 x float**]* @A, i64 0, i64 0), align 16
+ %value = load float**, float*** getelementptr inbounds ([1024 x float**]* @A, i64 0, i64 0), align 16
store float** %value, float*** %scevgep, align 4
%indvar_next = add i64 %indvar, 1
%exitcond = icmp eq i64 %indvar_next, 4
@@ -23,6 +23,6 @@ body:
return:
ret void
}
-; CHECK: %value_p_splat_one = load <1 x float**>* bitcast ([1024 x float**]* @A to <1 x float**>*), align 8
+; CHECK: %value_p_splat_one = load <1 x float**>, <1 x float**>* bitcast ([1024 x float**]* @A to <1 x float**>*), align 8
; CHECK: %value_p_splat = shufflevector <1 x float**> %value_p_splat_one, <1 x float**> %value_p_splat_one, <4 x i32> zeroinitializer
; CHECK: store <4 x float**> %value_p_splat, <4 x float**>* bitcast ([1024 x float**]* @B to <4 x float**>*), align 8
diff --git a/polly/test/Isl/CodeGen/simple_vec_stride_negative_one.ll b/polly/test/Isl/CodeGen/simple_vec_stride_negative_one.ll
index 1c869937545..a83458887cf 100644
--- a/polly/test/Isl/CodeGen/simple_vec_stride_negative_one.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_stride_negative_one.ll
@@ -21,7 +21,7 @@ entry:
for.body: ; preds = %entry, %for.body
%indvars.iv = phi i64 [ 3, %entry ], [ %indvars.iv.next, %for.body ]
%arrayidx = getelementptr inbounds [100 x i32], [100 x i32]* @A, i64 0, i64 %indvars.iv
- %0 = load i32* %arrayidx, align 4
+ %0 = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %0, 1
store i32 %add, i32* %arrayidx, align 4
%indvars.iv.next = add nsw i64 %indvars.iv, -1
@@ -34,5 +34,5 @@ for.end: ; preds = %for.body
}
; CHECK: @foo
-; CHECK: [[LOAD:%[a-zA-Z0-9_]+]] = load <4 x i32>*
+; CHECK: [[LOAD:%[a-zA-Z0-9_]+]] = load <4 x i32>, <4 x i32>*
; CHECK: [[REVERSE_LOAD:%[a-zA-Z0-9_]+reverse]] = shufflevector <4 x i32> [[LOAD]], <4 x i32> [[LOAD]], <4 x i32> <i32 3, i32 2, i32 1, i32 0>
diff --git a/polly/test/Isl/CodeGen/simple_vec_stride_x.ll b/polly/test/Isl/CodeGen/simple_vec_stride_x.ll
index 570da41ab1b..bf20cac7031 100644
--- a/polly/test/Isl/CodeGen/simple_vec_stride_x.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_stride_x.ll
@@ -35,7 +35,7 @@ bb2: ; preds = %bb5, %bb
br i1 %exitcond, label %bb3, label %bb6
bb3: ; preds = %bb2
- %tmp4 = load float* %scevgep1, align 8
+ %tmp4 = load float, float* %scevgep1, align 8
store float %tmp4, float* %scevgep, align 8
br label %bb5
@@ -50,18 +50,18 @@ bb6: ; preds = %bb2
define i32 @main() nounwind {
bb:
call void @simple_vec_stride_x()
- %tmp = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
+ %tmp = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
%tmp1 = fptosi float %tmp to i32
ret i32 %tmp1
}
-; CHECK: [[LOAD1:%[a-zA-Z0-9_]+_scalar_]] = load float*
+; CHECK: [[LOAD1:%[a-zA-Z0-9_]+_scalar_]] = load float, float*
; CHECK: [[VEC1:%[a-zA-Z0-9_]+]] = insertelement <4 x float> undef, float [[LOAD1]], i32 0
-; CHECK: [[LOAD2:%[a-zA-Z0-9_]+]] = load float*
+; CHECK: [[LOAD2:%[a-zA-Z0-9_]+]] = load float, float*
; CHECK: [[VEC2:%[a-zA-Z0-9_]+]] = insertelement <4 x float> [[VEC1]], float [[LOAD2]], i32 1
-; CHECK: [[LOAD3:%[a-zA-Z0-9_]+]] = load float*
+; CHECK: [[LOAD3:%[a-zA-Z0-9_]+]] = load float, float*
; CHECK: [[VEC3:%[a-zA-Z0-9_]+]] = insertelement <4 x float> [[VEC2]], float [[LOAD3]], i32 2
-; CHECK: [[LOAD4:%[a-zA-Z0-9_]+]] = load float*
+; CHECK: [[LOAD4:%[a-zA-Z0-9_]+]] = load float, float*
; CHECK: [[VEC4:%[a-zA-Z0-9_]+]] = insertelement <4 x float> [[VEC3]], float [[LOAD4]], i32 3
; CHECK: [[EL1:%[a-zA-Z0-9_]+]] = extractelement <4 x float> [[VEC4]], i32 0
; CHECK: store float [[EL1]]
diff --git a/polly/test/Isl/CodeGen/simple_vec_two_stmts.ll b/polly/test/Isl/CodeGen/simple_vec_two_stmts.ll
index 06a958e97d0..1617551a78d 100644
--- a/polly/test/Isl/CodeGen/simple_vec_two_stmts.ll
+++ b/polly/test/Isl/CodeGen/simple_vec_two_stmts.ll
@@ -19,12 +19,12 @@ bb1:
br i1 %exitcond, label %bb2a, label %bb5
bb2a:
- %tmp1 = load float* %scevgep1, align 4
+ %tmp1 = load float, float* %scevgep1, align 4
store float %tmp1, float* %scevgep, align 4
br label %bb2b
bb2b:
- %tmp2 = load float* %scevgep1, align 4
+ %tmp2 = load float, float* %scevgep1, align 4
store float %tmp2, float* %scevgep2, align 4
br label %bb4
@@ -38,13 +38,13 @@ bb5:
define i32 @main() nounwind {
call void @simple_vec_stride_one()
- %1 = load float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
+ %1 = load float, float* getelementptr inbounds ([1024 x float]* @A, i64 0, i64 42), align 8
%2 = fptosi float %1 to i32
ret i32 %2
}
-; CHECK: [[LOAD1:%[a-zA-Z0-9_]+_full]] = load <4 x float>*
+; CHECK: [[LOAD1:%[a-zA-Z0-9_]+_full]] = load <4 x float>, <4 x float>*
; CHECK: store <4 x float> [[LOAD1]]
-; CHECK: [[LOAD2:%[a-zA-Z0-9_]+_full]] = load <4 x float>*
+; CHECK: [[LOAD2:%[a-zA-Z0-9_]+_full]] = load <4 x float>, <4 x float>*
; CHECK: store <4 x float> [[LOAD2]]
diff --git a/polly/test/Isl/CodeGen/single_do_loop_int_max_iterations.ll b/polly/test/Isl/CodeGen/single_do_loop_int_max_iterations.ll
index 130888a5059..907df42e602 100644
--- a/polly/test/Isl/CodeGen/single_do_loop_int_max_iterations.ll
+++ b/polly/test/Isl/CodeGen/single_do_loop_int_max_iterations.ll
@@ -69,10 +69,10 @@ define i32 @main() nounwind {
entry:
store i32 0, i32* getelementptr inbounds ([20 x i32]* @A, i32 0, i32 0)
call void @single_do_loop_int_max_iterations()
- %tmp = load %struct._IO_FILE** @stdout ; <%struct._IO_FILE*> [#uses=1]
- %tmp1 = load i32* getelementptr inbounds ([20 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
+ %tmp = load %struct._IO_FILE*, %struct._IO_FILE** @stdout ; <%struct._IO_FILE*> [#uses=1]
+ %tmp1 = load i32, i32* getelementptr inbounds ([20 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
%call = call i32 (%struct._IO_FILE*, i8*, ...)* @fprintf(%struct._IO_FILE* %tmp, i8* getelementptr inbounds ([11 x i8]* @.str, i32 0, i32 0), i32 %tmp1) ; <i32> [#uses=0]
- %tmp2 = load i32* getelementptr inbounds ([20 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
+ %tmp2 = load i32, i32* getelementptr inbounds ([20 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
%cmp = icmp eq i32 %tmp2, 2147483646 ; <i1> [#uses=1]
br i1 %cmp, label %if.then, label %if.else
diff --git a/polly/test/Isl/CodeGen/single_do_loop_int_param_iterations.ll b/polly/test/Isl/CodeGen/single_do_loop_int_param_iterations.ll
index 2e657893005..22464456258 100644
--- a/polly/test/Isl/CodeGen/single_do_loop_int_param_iterations.ll
+++ b/polly/test/Isl/CodeGen/single_do_loop_int_param_iterations.ll
@@ -59,7 +59,7 @@ define i32 @main() nounwind {
entry:
store i32 0, i32* getelementptr inbounds ([20 x i32]* @A, i32 0, i32 0)
call void @bar(i32 10)
- %tmp = load i32* getelementptr inbounds ([20 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
+ %tmp = load i32, i32* getelementptr inbounds ([20 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
%cmp = icmp eq i32 %tmp, 19 ; <i1> [#uses=1]
br i1 %cmp, label %if.then, label %if.else
diff --git a/polly/test/Isl/CodeGen/single_do_loop_ll_max_iterations.ll b/polly/test/Isl/CodeGen/single_do_loop_ll_max_iterations.ll
index 3510ec64a55..7253716e76a 100644
--- a/polly/test/Isl/CodeGen/single_do_loop_ll_max_iterations.ll
+++ b/polly/test/Isl/CodeGen/single_do_loop_ll_max_iterations.ll
@@ -50,7 +50,7 @@ do.cond: ; preds = %do.body
do.end: ; preds = %do.cond
fence seq_cst
- %tmp3 = load i64* getelementptr inbounds ([20 x i64]* @A, i32 0, i32 0) ; <i64> [#uses=1]
+ %tmp3 = load i64, i64* getelementptr inbounds ([20 x i64]* @A, i32 0, i32 0) ; <i64> [#uses=1]
%cmp4 = icmp eq i64 %tmp3, 9223372036854775806 ; <i1> [#uses=1]
br i1 %cmp4, label %if.then, label %if.else
diff --git a/polly/test/Isl/CodeGen/single_do_loop_one_iteration.ll b/polly/test/Isl/CodeGen/single_do_loop_one_iteration.ll
index a50c24dd584..0e7234d6bcd 100644
--- a/polly/test/Isl/CodeGen/single_do_loop_one_iteration.ll
+++ b/polly/test/Isl/CodeGen/single_do_loop_one_iteration.ll
@@ -52,7 +52,7 @@ do.end: ; preds = %do.cond
fence seq_cst
%arraydecay4 = getelementptr inbounds [20 x i32], [20 x i32]* %A, i32 0, i32 0 ; <i32*> [#uses=1]
%arrayidx5 = getelementptr inbounds i32, i32* %arraydecay4, i64 0 ; <i32*> [#uses=1]
- %tmp6 = load i32* %arrayidx5 ; <i32> [#uses=1]
+ %tmp6 = load i32, i32* %arrayidx5 ; <i32> [#uses=1]
%cmp7 = icmp eq i32 %tmp6, 0 ; <i1> [#uses=1]
br i1 %cmp7, label %if.then, label %if.else
diff --git a/polly/test/Isl/CodeGen/single_do_loop_scev_replace.ll b/polly/test/Isl/CodeGen/single_do_loop_scev_replace.ll
index 389282efd46..e57e6047e9d 100644
--- a/polly/test/Isl/CodeGen/single_do_loop_scev_replace.ll
+++ b/polly/test/Isl/CodeGen/single_do_loop_scev_replace.ll
@@ -69,10 +69,10 @@ do.end: ; preds = %do.cond
define i32 @main() nounwind {
entry:
call void @single_do_loop_scev_replace()
- %tmp = load %struct._IO_FILE** @stdout ; <%struct._IO_FILE*> [#uses=1]
- %tmp1 = load i32* getelementptr inbounds ([40 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
+ %tmp = load %struct._IO_FILE*, %struct._IO_FILE** @stdout ; <%struct._IO_FILE*> [#uses=1]
+ %tmp1 = load i32, i32* getelementptr inbounds ([40 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
%call = call i32 (%struct._IO_FILE*, i8*, ...)* @fprintf(%struct._IO_FILE* %tmp, i8* getelementptr inbounds ([11 x i8]* @.str, i32 0, i32 0), i32 %tmp1) ; <i32> [#uses=0]
- %tmp2 = load i32* getelementptr inbounds ([40 x i32]* @A, i32 0, i64 38) ; <i32> [#uses=1]
+ %tmp2 = load i32, i32* getelementptr inbounds ([40 x i32]* @A, i32 0, i64 38) ; <i32> [#uses=1]
%cmp = icmp eq i32 %tmp2, 19 ; <i1> [#uses=1]
br i1 %cmp, label %if.then, label %if.else
diff --git a/polly/test/Isl/CodeGen/single_loop.ll b/polly/test/Isl/CodeGen/single_loop.ll
index 26721a09e8f..cee1c42e707 100644
--- a/polly/test/Isl/CodeGen/single_loop.ll
+++ b/polly/test/Isl/CodeGen/single_loop.ll
@@ -57,7 +57,7 @@ for.cond5: ; preds = %for.inc07, %for.end
br i1 %cmp7, label %for.body9, label %for.end20
for.body9: ; preds = %for.cond5
- %tmp14 = load i32* %arrayidx13 ; <i32> [#uses=1]
+ %tmp14 = load i32, i32* %arrayidx13 ; <i32> [#uses=1]
%cmp15 = icmp ne i32 %tmp14, 1 ; <i1> [#uses=1]
br i1 %cmp15, label %if.then, label %if.end
diff --git a/polly/test/Isl/CodeGen/single_loop_int_max_iterations.ll b/polly/test/Isl/CodeGen/single_loop_int_max_iterations.ll
index 5f4a9d639c8..c3a0a1d6cda 100644
--- a/polly/test/Isl/CodeGen/single_loop_int_max_iterations.ll
+++ b/polly/test/Isl/CodeGen/single_loop_int_max_iterations.ll
@@ -53,7 +53,7 @@ for.end: ; preds = %for.cond
fence seq_cst
%arraydecay5 = getelementptr inbounds [20 x i32], [20 x i32]* %A, i32 0, i32 0 ; <i32*> [#uses=1]
%arrayidx6 = getelementptr inbounds i32, i32* %arraydecay5, i64 0 ; <i32*> [#uses=1]
- %tmp7 = load i32* %arrayidx6 ; <i32> [#uses=1]
+ %tmp7 = load i32, i32* %arrayidx6 ; <i32> [#uses=1]
%cmp8 = icmp eq i32 %tmp7, 2147483646 ; <i1> [#uses=1]
br i1 %cmp8, label %if.then, label %if.else
diff --git a/polly/test/Isl/CodeGen/single_loop_ll_max_iterations.ll b/polly/test/Isl/CodeGen/single_loop_ll_max_iterations.ll
index cb82a72c687..de6d8750526 100644
--- a/polly/test/Isl/CodeGen/single_loop_ll_max_iterations.ll
+++ b/polly/test/Isl/CodeGen/single_loop_ll_max_iterations.ll
@@ -53,7 +53,7 @@ for.end: ; preds = %for.cond
fence seq_cst
%arraydecay5 = getelementptr inbounds [20 x i64], [20 x i64]* %A, i32 0, i32 0 ; <i64*> [#uses=1]
%arrayidx6 = getelementptr inbounds i64, i64* %arraydecay5, i64 0 ; <i64*> [#uses=1]
- %tmp7 = load i64* %arrayidx6 ; <i64> [#uses=1]
+ %tmp7 = load i64, i64* %arrayidx6 ; <i64> [#uses=1]
%cmp8 = icmp eq i64 %tmp7, 9223372036854775806 ; <i1> [#uses=1]
br i1 %cmp8, label %if.then, label %if.else
diff --git a/polly/test/Isl/CodeGen/single_loop_one_iteration.ll b/polly/test/Isl/CodeGen/single_loop_one_iteration.ll
index defb217bd87..7623bec6c09 100644
--- a/polly/test/Isl/CodeGen/single_loop_one_iteration.ll
+++ b/polly/test/Isl/CodeGen/single_loop_one_iteration.ll
@@ -51,7 +51,7 @@ for.end: ; preds = %for.cond
fence seq_cst
%arraydecay5 = getelementptr inbounds [20 x i32], [20 x i32]* %A, i32 0, i32 0 ; <i32*> [#uses=1]
%arrayidx6 = getelementptr inbounds i32, i32* %arraydecay5, i64 0 ; <i32*> [#uses=1]
- %tmp7 = load i32* %arrayidx6 ; <i32> [#uses=1]
+ %tmp7 = load i32, i32* %arrayidx6 ; <i32> [#uses=1]
%cmp8 = icmp eq i32 %tmp7, 1 ; <i1> [#uses=1]
br i1 %cmp8, label %if.then, label %if.else
diff --git a/polly/test/Isl/CodeGen/single_loop_param.ll b/polly/test/Isl/CodeGen/single_loop_param.ll
index 7d41d98f831..985a2d77c2e 100644
--- a/polly/test/Isl/CodeGen/single_loop_param.ll
+++ b/polly/test/Isl/CodeGen/single_loop_param.ll
@@ -42,7 +42,7 @@ bb1: ; preds = %bb7, %bb
br i1 %tmp, label %bb2, label %bb8
bb2: ; preds = %bb1
- %tmp3 = load i32* %scevgep ; <i32> [#uses=1]
+ %tmp3 = load i32, i32* %scevgep ; <i32> [#uses=1]
%tmp4 = icmp ne i32 %tmp3, 1 ; <i1> [#uses=1]
br i1 %tmp4, label %bb5, label %bb6
diff --git a/polly/test/Isl/CodeGen/single_loop_zero_iterations.ll b/polly/test/Isl/CodeGen/single_loop_zero_iterations.ll
index 7a2d903027e..b01981fc1fd 100644
--- a/polly/test/Isl/CodeGen/single_loop_zero_iterations.ll
+++ b/polly/test/Isl/CodeGen/single_loop_zero_iterations.ll
@@ -50,7 +50,7 @@ for.end: ; preds = %for.cond
fence seq_cst
%arraydecay5 = getelementptr inbounds [20 x i32], [20 x i32]* %A, i32 0, i32 0 ; <i32*> [#uses=1]
%arrayidx6 = getelementptr inbounds i32, i32* %arraydecay5, i64 0 ; <i32*> [#uses=1]
- %tmp7 = load i32* %arrayidx6 ; <i32> [#uses=1]
+ %tmp7 = load i32, i32* %arrayidx6 ; <i32> [#uses=1]
%cmp8 = icmp eq i32 %tmp7, 0 ; <i1> [#uses=1]
br i1 %cmp8, label %if.then, label %if.else
diff --git a/polly/test/Isl/CodeGen/test-invalid-operands-for-select-2.ll b/polly/test/Isl/CodeGen/test-invalid-operands-for-select-2.ll
index 8b3e0c6d9b1..2d144d0ece6 100644
--- a/polly/test/Isl/CodeGen/test-invalid-operands-for-select-2.ll
+++ b/polly/test/Isl/CodeGen/test-invalid-operands-for-select-2.ll
@@ -25,7 +25,7 @@ for.body9: ; preds = %for.body9, %for.con
%ix.02 = phi i32 [ %inc, %for.body9 ], [ 0, %for.cond7.preheader ]
%idxprom74 = sext i32 %iz.08 to i64
%arrayidx75 = getelementptr inbounds double, double* %czp, i64 %idxprom74
- %0 = load double* %arrayidx75, align 8
+ %0 = load double, double* %arrayidx75, align 8
%idxprom102 = sext i32 %iz.08 to i64
%arrayidx105 = getelementptr inbounds [65 x [65 x double]], [65 x [65 x double]]* %Hz, i64 %idxprom102, i64 0, i64 0
store double undef, double* %arrayidx105, align 8
diff --git a/polly/test/Isl/CodeGen/test-invalid-operands-for-select.ll b/polly/test/Isl/CodeGen/test-invalid-operands-for-select.ll
index efe3f14ed8b..e0560218f89 100644
--- a/polly/test/Isl/CodeGen/test-invalid-operands-for-select.ll
+++ b/polly/test/Isl/CodeGen/test-invalid-operands-for-select.ll
@@ -57,7 +57,7 @@ for.body53: ; preds = %for.body53, %for.bo
%arrayidx180 = getelementptr inbounds float, float* %ch, i64 %idxprom179
store float undef, float* %arrayidx180, align 4
%arrayidx183 = getelementptr inbounds float, float* %wa3, i64 0
- %0 = load float* %arrayidx183, align 4
+ %0 = load float, float* %arrayidx183, align 4
%mul184 = fmul float undef, %0
%add189 = fadd float %mul184, 0.000000e+00
%idxprom190 = sext i32 %add177 to i64
diff --git a/polly/test/Isl/CodeGen/test.ll b/polly/test/Isl/CodeGen/test.ll
index 88ea779587f..a197a08b1bd 100644
--- a/polly/test/Isl/CodeGen/test.ll
+++ b/polly/test/Isl/CodeGen/test.ll
@@ -55,7 +55,7 @@ bb.nph.us: ; preds = %bb.nph31.split.us,
for.end19: ; preds = %for.inc06.us
%idxprom21 = sext i32 %z to i64 ; <i64> [#uses=1]
%arrayidx22 = getelementptr inbounds [100 x i32], [100 x i32]* @A, i64 0, i64 %idxprom21 ; <i32*> [#uses=1]
- %tmp23 = load i32* %arrayidx22 ; <i32> [#uses=1]
+ %tmp23 = load i32, i32* %arrayidx22 ; <i32> [#uses=1]
ret i32 %tmp23
}
; CHECK: for (c2=0;c2<=99;c2++) {
diff --git a/polly/test/Isl/CodeGen/two-scops-in-row.ll b/polly/test/Isl/CodeGen/two-scops-in-row.ll
index 61497b554a0..525fd690009 100644
--- a/polly/test/Isl/CodeGen/two-scops-in-row.ll
+++ b/polly/test/Isl/CodeGen/two-scops-in-row.ll
@@ -21,7 +21,7 @@ entry:
br label %for.0
for.0:
- %Scalar0.val = load i32* %Scalar0
+ %Scalar0.val = load i32, i32* %Scalar0
br i1 false, label %for.0, label %for.1.preheader
for.1.preheader:
diff --git a/polly/test/Isl/single_loop_uint_max_iterations.ll b/polly/test/Isl/single_loop_uint_max_iterations.ll
index e481f526fe2..02fe6e1292b 100644
--- a/polly/test/Isl/single_loop_uint_max_iterations.ll
+++ b/polly/test/Isl/single_loop_uint_max_iterations.ll
@@ -54,7 +54,7 @@ for.end: ; preds = %for.cond
fence seq_cst
%arraydecay5 = getelementptr inbounds [20 x i32], [20 x i32]* %A, i32 0, i32 0 ; <i32*> [#uses=1]
%arrayidx6 = getelementptr inbounds i32, i32* %arraydecay5, i64 0 ; <i32*> [#uses=1]
- %tmp7 = load i32* %arrayidx6 ; <i32> [#uses=1]
+ %tmp7 = load i32, i32* %arrayidx6 ; <i32> [#uses=1]
%cmp8 = icmp eq i32 %tmp7, -2 ; <i1> [#uses=1]
br i1 %cmp8, label %if.then, label %if.else
diff --git a/polly/test/Isl/single_loop_ull_max_iterations.ll b/polly/test/Isl/single_loop_ull_max_iterations.ll
index ca488adfecb..4dd1f655d01 100644
--- a/polly/test/Isl/single_loop_ull_max_iterations.ll
+++ b/polly/test/Isl/single_loop_ull_max_iterations.ll
@@ -54,7 +54,7 @@ for.end: ; preds = %for.cond
fence seq_cst
%arraydecay5 = getelementptr inbounds [20 x i64], [20 x i64]* %A, i32 0, i32 0 ; <i64*> [#uses=1]
%arrayidx6 = getelementptr inbounds i64, i64* %arraydecay5, i64 0 ; <i64*> [#uses=1]
- %tmp7 = load i64* %arrayidx6 ; <i64> [#uses=1]
+ %tmp7 = load i64, i64* %arrayidx6 ; <i64> [#uses=1]
%cmp8 = icmp eq i64 %tmp7, -2 ; <i1> [#uses=1]
br i1 %cmp8, label %if.then, label %if.else
diff --git a/polly/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll b/polly/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll
index fa612726a0a..2207654acff 100644
--- a/polly/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll
+++ b/polly/test/ScheduleOptimizer/2012-04-16-Trivially-vectorizable-loops.ll
@@ -87,12 +87,12 @@ for.cond1: ; preds = %for.inc, %for.body
br i1 %cmp2, label %for.body3, label %for.end
for.body3: ; preds = %for.cond1
- %0 = load %struct._IO_FILE** @stdout, align 8
+ %0 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8
%idxprom = sext i32 %j.0 to i64
%idxprom4 = sext i32 %i.0 to i64
%arrayidx = getelementptr inbounds [1536 x [1536 x float]], [1536 x [1536 x float]]* @C, i32 0, i64 %idxprom4
%arrayidx5 = getelementptr inbounds [1536 x float], [1536 x float]* %arrayidx, i32 0, i64 %idxprom
- %1 = load float* %arrayidx5, align 4
+ %1 = load float, float* %arrayidx5, align 4
%conv = fpext float %1 to double
%call = call i32 (%struct._IO_FILE*, i8*, ...)* @fprintf(%struct._IO_FILE* %0, i8* getelementptr inbounds ([5 x i8]* @.str, i32 0, i32 0), double %conv)
%rem = srem i32 %j.0, 80
@@ -100,7 +100,7 @@ for.body3: ; preds = %for.cond1
br i1 %cmp6, label %if.then, label %if.end
if.then: ; preds = %for.body3
- %2 = load %struct._IO_FILE** @stdout, align 8
+ %2 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8
%call8 = call i32 (%struct._IO_FILE*, i8*, ...)* @fprintf(%struct._IO_FILE* %2, i8* getelementptr inbounds ([2 x i8]* @.str1, i32 0, i32 0))
br label %if.end
@@ -112,7 +112,7 @@ for.inc: ; preds = %if.end
br label %for.cond1
for.end: ; preds = %for.cond1
- %3 = load %struct._IO_FILE** @stdout, align 8
+ %3 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8
%call9 = call i32 (%struct._IO_FILE*, i8*, ...)* @fprintf(%struct._IO_FILE* %3, i8* getelementptr inbounds ([2 x i8]* @.str1, i32 0, i32 0))
br label %for.inc10
@@ -162,17 +162,17 @@ for.body8: ; preds = %for.cond6
%idxprom10 = sext i32 %i.0 to i64
%arrayidx11 = getelementptr inbounds [1536 x [1536 x float]], [1536 x [1536 x float]]* @C, i32 0, i64 %idxprom10
%arrayidx12 = getelementptr inbounds [1536 x float], [1536 x float]* %arrayidx11, i32 0, i64 %idxprom9
- %0 = load float* %arrayidx12, align 4
+ %0 = load float, float* %arrayidx12, align 4
%idxprom13 = sext i32 %k.0 to i64
%idxprom14 = sext i32 %i.0 to i64
%arrayidx15 = getelementptr inbounds [1536 x [1536 x float]], [1536 x [1536 x float]]* @A, i32 0, i64 %idxprom14
%arrayidx16 = getelementptr inbounds [1536 x float], [1536 x float]* %arrayidx15, i32 0, i64 %idxprom13
- %1 = load float* %arrayidx16, align 4
+ %1 = load float, float* %arrayidx16, align 4
%idxprom17 = sext i32 %j.0 to i64
%idxprom18 = sext i32 %k.0 to i64
%arrayidx19 = getelementptr inbounds [1536 x [1536 x float]], [1536 x [1536 x float]]* @B, i32 0, i64 %idxprom18
%arrayidx20 = getelementptr inbounds [1536 x float], [1536 x float]* %arrayidx19, i32 0, i64 %idxprom17
- %2 = load float* %arrayidx20, align 4
+ %2 = load float, float* %arrayidx20, align 4
%mul = fmul float %1, %2
%add = fadd float %0, %mul
%idxprom21 = sext i32 %j.0 to i64
diff --git a/polly/test/ScheduleOptimizer/prevectorization.ll b/polly/test/ScheduleOptimizer/prevectorization.ll
index ce62a2e61f6..412410cf306 100644
--- a/polly/test/ScheduleOptimizer/prevectorization.ll
+++ b/polly/test/ScheduleOptimizer/prevectorization.ll
@@ -28,9 +28,9 @@ for.body8: ; preds = %for.body3, %for.bod
%indvar = phi i64 [ 0, %for.body3 ], [ %indvar.next, %for.body8 ]
%arrayidx16 = getelementptr [1536 x [1536 x float]], [1536 x [1536 x float]]* @A, i64 0, i64 %indvar4, i64 %indvar
%arrayidx20 = getelementptr [1536 x [1536 x float]], [1536 x [1536 x float]]* @B, i64 0, i64 %indvar, i64 %indvar6
- %0 = load float* %arrayidx24, align 4
- %1 = load float* %arrayidx16, align 4
- %2 = load float* %arrayidx20, align 4
+ %0 = load float, float* %arrayidx24, align 4
+ %1 = load float, float* %arrayidx16, align 4
+ %2 = load float, float* %arrayidx20, align 4
%mul = fmul float %1, %2
%add = fadd float %0, %mul
store float %add, float* %arrayidx24, align 4
diff --git a/polly/test/ScopDetect/aliasing_parametric_simple_1.ll b/polly/test/ScopDetect/aliasing_parametric_simple_1.ll
index 251f51dd777..f05ebe8abb1 100644
--- a/polly/test/ScopDetect/aliasing_parametric_simple_1.ll
+++ b/polly/test/ScopDetect/aliasing_parametric_simple_1.ll
@@ -21,7 +21,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%idxprom = sext i32 %c to i64
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %idxprom
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx2 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp, i32* %arrayidx2, align 4
br label %for.inc
diff --git a/polly/test/ScopDetect/aliasing_parametric_simple_2.ll b/polly/test/ScopDetect/aliasing_parametric_simple_2.ll
index 1c76b45528e..aa482c51e89 100644
--- a/polly/test/ScopDetect/aliasing_parametric_simple_2.ll
+++ b/polly/test/ScopDetect/aliasing_parametric_simple_2.ll
@@ -22,9 +22,9 @@ for.body: ; preds = %for.cond
%sub = add nsw i32 %c, -10
%idxprom = sext i32 %sub to i64
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %idxprom
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx1 = getelementptr inbounds i32, i32* %B, i64 5
- %tmp1 = load i32* %arrayidx1, align 4
+ %tmp1 = load i32, i32* %arrayidx1, align 4
%add = add nsw i32 %tmp, %tmp1
%arrayidx3 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %add, i32* %arrayidx3, align 4
diff --git a/polly/test/ScopDetect/aliasing_simple_1.ll b/polly/test/ScopDetect/aliasing_simple_1.ll
index 9b5b3cf5e01..f3971c31dbb 100644
--- a/polly/test/ScopDetect/aliasing_simple_1.ll
+++ b/polly/test/ScopDetect/aliasing_simple_1.ll
@@ -19,7 +19,7 @@ for.cond: ; preds = %for.inc, %entry
br i1 %exitcond, label %for.body, label %for.end
for.body: ; preds = %for.cond
- %tmp = load i32* %B, align 4
+ %tmp = load i32, i32* %B, align 4
%arrayidx2 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp, i32* %arrayidx2, align 4
br label %for.inc
diff --git a/polly/test/ScopDetect/aliasing_simple_2.ll b/polly/test/ScopDetect/aliasing_simple_2.ll
index 55ca133112e..98c361115ed 100644
--- a/polly/test/ScopDetect/aliasing_simple_2.ll
+++ b/polly/test/ScopDetect/aliasing_simple_2.ll
@@ -19,9 +19,9 @@ for.cond: ; preds = %for.inc, %entry
br i1 %exitcond, label %for.body, label %for.end
for.body: ; preds = %for.cond
- %tmp = load i32* %B, align 4
+ %tmp = load i32, i32* %B, align 4
%arrayidx1 = getelementptr inbounds i32, i32* %B, i64 1023
- %tmp1 = load i32* %arrayidx1, align 4
+ %tmp1 = load i32, i32* %arrayidx1, align 4
%add = add nsw i32 %tmp, %tmp1
%arrayidx2 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %add, i32* %arrayidx2, align 4
diff --git a/polly/test/ScopDetect/base_pointer.ll b/polly/test/ScopDetect/base_pointer.ll
index bac207afd6b..05fecf3f675 100644
--- a/polly/test/ScopDetect/base_pointer.ll
+++ b/polly/test/ScopDetect/base_pointer.ll
@@ -11,7 +11,7 @@ entry:
br label %pre
pre:
- %A = load i64** %A_ptr
+ %A = load i64*, i64** %A_ptr
br i1 true, label %for.i, label %then
for.i:
@@ -277,7 +277,7 @@ for.i:
for.j:
%indvar.j = phi i64 [ 0, %for.i ], [ %indvar.j.next, %for.j ]
%conv = sitofp i64 %indvar.i to float
- %basepointer = load float** %arrayidx, align 8
+ %basepointer = load float*, float** %arrayidx, align 8
%arrayidx5 = getelementptr float, float* %basepointer, i64 %indvar.j
store float %conv, float* %arrayidx5, align 4
%indvar.j.next = add i64 %indvar.j, 1
diff --git a/polly/test/ScopDetect/intrinsics_2.ll b/polly/test/ScopDetect/intrinsics_2.ll
index 7a62f2da147..8cb20cd0fe2 100644
--- a/polly/test/ScopDetect/intrinsics_2.ll
+++ b/polly/test/ScopDetect/intrinsics_2.ll
@@ -43,9 +43,9 @@ for.cond2: ; preds = %for.inc, %for.body
for.body4: ; preds = %for.cond2
%arrayidx = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv1
- %tmp6 = load i32* %arrayidx, align 4
+ %tmp6 = load i32, i32* %arrayidx, align 4
%arrayidx6 = getelementptr inbounds [1024 x i32], [1024 x i32]* %tmp, i64 0, i64 %indvars.iv3
- %tmp7 = load i32* %arrayidx6, align 4
+ %tmp7 = load i32, i32* %arrayidx6, align 4
%add = add nsw i32 %tmp7, %tmp6
store i32 %add, i32* %arrayidx6, align 4
br label %for.inc
@@ -56,7 +56,7 @@ for.inc: ; preds = %for.body4
for.end: ; preds = %for.cond2
%arrayidx8 = getelementptr inbounds [1024 x i32], [1024 x i32]* %tmp, i64 0, i64 %indvars.iv3
- %tmp8 = load i32* %arrayidx8, align 4
+ %tmp8 = load i32, i32* %arrayidx8, align 4
%arrayidx10 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv3
store i32 %tmp8, i32* %arrayidx10, align 4
br label %for.inc11
diff --git a/polly/test/ScopDetect/intrinsics_3.ll b/polly/test/ScopDetect/intrinsics_3.ll
index 94c3aed6625..0388a9f9d4f 100644
--- a/polly/test/ScopDetect/intrinsics_3.ll
+++ b/polly/test/ScopDetect/intrinsics_3.ll
@@ -46,10 +46,10 @@ for.body4: ; preds = %for.cond2
call void @llvm.assume(i1 %exitcond)
call i1 @llvm.expect.i1(i1 %exitcond, i1 1)
%arrayidx = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv1
- %tmp6 = load i32* %arrayidx, align 4
+ %tmp6 = load i32, i32* %arrayidx, align 4
%arrayidx6 = getelementptr inbounds [1024 x i32], [1024 x i32]* %tmp, i64 0, i64 %indvars.iv3
call void @llvm.donothing()
- %tmp7 = load i32* %arrayidx6, align 4
+ %tmp7 = load i32, i32* %arrayidx6, align 4
%add = add nsw i32 %tmp7, %tmp6
store i32 %add, i32* %arrayidx6, align 4
br label %for.inc
@@ -60,7 +60,7 @@ for.inc: ; preds = %for.body4
for.end: ; preds = %for.cond2
%arrayidx8 = getelementptr inbounds [1024 x i32], [1024 x i32]* %tmp, i64 0, i64 %indvars.iv3
- %tmp8 = load i32* %arrayidx8, align 4
+ %tmp8 = load i32, i32* %arrayidx8, align 4
%arrayidx10 = getelementptr inbounds [1024 x i32], [1024 x i32]* @A, i64 0, i64 %indvars.iv3
call void @llvm.invariant.end({}* %lis, i64 4096, i8* %tmp3) #1
store i32 %tmp8, i32* %arrayidx10, align 4
diff --git a/polly/test/ScopDetect/keep_going_expansion.ll b/polly/test/ScopDetect/keep_going_expansion.ll
index 483cd8252cf..937b8f08b39 100644
--- a/polly/test/ScopDetect/keep_going_expansion.ll
+++ b/polly/test/ScopDetect/keep_going_expansion.ll
@@ -35,10 +35,10 @@ for.body4: ; preds = %for.cond2.preheader
for.end9: ; preds = %for.body4
%idxprom10 = sext i32 %n to i64
%arrayidx11 = getelementptr inbounds i32, i32* %A, i64 %idxprom10
- %2 = load i32* %arrayidx11, align 4
+ %2 = load i32, i32* %arrayidx11, align 4
%idxprom12 = sext i32 %n to i64
%arrayidx13 = getelementptr inbounds i32, i32* %B, i64 %idxprom12
- %3 = load i32* %arrayidx13, align 4
+ %3 = load i32, i32* %arrayidx13, align 4
%add = add nsw i32 %3, %2
ret i32 %add
}
diff --git a/polly/test/ScopDetect/non-affine-conditional.ll b/polly/test/ScopDetect/non-affine-conditional.ll
index d3c27208b5f..d5ed1a9da03 100644
--- a/polly/test/ScopDetect/non-affine-conditional.ll
+++ b/polly/test/ScopDetect/non-affine-conditional.ll
@@ -21,7 +21,7 @@ bb1: ; preds = %bb8, %bb
bb2: ; preds = %bb1
%tmp = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp3 = load i32* %tmp, align 4
+ %tmp3 = load i32, i32* %tmp, align 4
%tmp4 = icmp eq i32 %tmp3, 0
br i1 %tmp4, label %bb7, label %bb5
diff --git a/polly/test/ScopDetect/non-affine-float-compare.ll b/polly/test/ScopDetect/non-affine-float-compare.ll
index f012c7a61b4..875d220f2c1 100644
--- a/polly/test/ScopDetect/non-affine-float-compare.ll
+++ b/polly/test/ScopDetect/non-affine-float-compare.ll
@@ -20,16 +20,16 @@ bb1: ; preds = %bb13, %bb
bb2: ; preds = %bb1
%tmp = getelementptr inbounds float, float* %A, i64 %indvars.iv
- %tmp3 = load float* %tmp, align 4
+ %tmp3 = load float, float* %tmp, align 4
%tmp4 = add nsw i64 %indvars.iv, -1
%tmp5 = getelementptr inbounds float, float* %A, i64 %tmp4
- %tmp6 = load float* %tmp5, align 4
+ %tmp6 = load float, float* %tmp5, align 4
%tmp7 = fcmp oeq float %tmp3, %tmp6
br i1 %tmp7, label %bb8, label %bb12
bb8: ; preds = %bb2
%tmp9 = getelementptr inbounds float, float* %A, i64 %indvars.iv
- %tmp10 = load float* %tmp9, align 4
+ %tmp10 = load float, float* %tmp9, align 4
%tmp11 = fadd float %tmp10, 1.000000e+00
store float %tmp11, float* %tmp9, align 4
br label %bb12
diff --git a/polly/test/ScopDetect/simple_loop_with_param.ll b/polly/test/ScopDetect/simple_loop_with_param.ll
index 42c6cb176a8..5980ec791ad 100644
--- a/polly/test/ScopDetect/simple_loop_with_param.ll
+++ b/polly/test/ScopDetect/simple_loop_with_param.ll
@@ -27,7 +27,7 @@ for.i:
br label %entry.next
entry.next:
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
br label %for.j
for.j:
diff --git a/polly/test/ScopDetect/simple_loop_with_param_2.ll b/polly/test/ScopDetect/simple_loop_with_param_2.ll
index 829bee5cda2..91d743a7bca 100644
--- a/polly/test/ScopDetect/simple_loop_with_param_2.ll
+++ b/polly/test/ScopDetect/simple_loop_with_param_2.ll
@@ -25,7 +25,7 @@ for.i:
br label %entry.next
entry.next:
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
br label %for.j
for.j:
diff --git a/polly/test/ScopDetect/skip_function_attribute.ll b/polly/test/ScopDetect/skip_function_attribute.ll
index 628a08cebb7..02177f52438 100644
--- a/polly/test/ScopDetect/skip_function_attribute.ll
+++ b/polly/test/ScopDetect/skip_function_attribute.ll
@@ -25,7 +25,7 @@ for.body.preheader: ; preds = %entry.split
for.body: ; preds = %for.body.preheader, %for.body
%i.02 = phi i32 [ %inc, %for.body ], [ 0, %for.body.preheader ]
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.02
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%mul = mul nsw i32 %tmp, %tmp
%add = add nsw i32 %mul, %tmp
%arrayidx3 = getelementptr inbounds i32, i32* %A, i32 %i.02
diff --git a/polly/test/ScopDetectionDiagnostics/ReportAlias-01.ll b/polly/test/ScopDetectionDiagnostics/ReportAlias-01.ll
index 364d397eed9..64da8502874 100644
--- a/polly/test/ScopDetectionDiagnostics/ReportAlias-01.ll
+++ b/polly/test/ScopDetectionDiagnostics/ReportAlias-01.ll
@@ -26,7 +26,7 @@ for.body: ; preds = %entry.split, %for.b
%indvar = phi i64 [ 0, %entry.split ], [ %indvar.next, %for.body ]
%arrayidx = getelementptr i32, i32* %B, i64 %indvar, !dbg !22
%arrayidx2 = getelementptr i32, i32* %A, i64 %indvar, !dbg !22
- %0 = load i32* %arrayidx, align 4, !dbg !22
+ %0 = load i32, i32* %arrayidx, align 4, !dbg !22
store i32 %0, i32* %arrayidx2, align 4, !dbg !22
tail call void @llvm.dbg.value(metadata !{null}, i64 0, metadata !18), !dbg !20
%indvar.next = add i64 %indvar, 1, !dbg !21
diff --git a/polly/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll b/polly/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll
index d752558ea4a..96d45600a4f 100644
--- a/polly/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll
+++ b/polly/test/ScopDetectionDiagnostics/ReportDifferentElementSize.ll
@@ -24,7 +24,7 @@ for.body: ; preds = %for.body, %entry
%tmp9 = shl i64 %i.05, 2, !dbg !15
%uglygep7 = getelementptr i8, i8* %A, i64 %tmp9
%arrayidx1 = bitcast i8* %uglygep7 to float*, !dbg !17
- %tmp10 = load double* %arrayidx, align 8, !dbg !16, !tbaa !18
+ %tmp10 = load double, double* %arrayidx, align 8, !dbg !16, !tbaa !18
%conv = fptrunc double %tmp10 to float, !dbg !16
store float %conv, float* %arrayidx1, align 4, !dbg !17, !tbaa !22
%tmp11 = add nsw i64 %i.05, 1, !dbg !24
diff --git a/polly/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll b/polly/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll
index 81ee240f75e..f7b7de9827b 100644
--- a/polly/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll
+++ b/polly/test/ScopDetectionDiagnostics/ReportLoopBound-01.ll
@@ -22,7 +22,7 @@ entry.split: ; preds = %entry
tail call void @llvm.dbg.value(metadata i32 0, i64 0, metadata !18), !dbg !20
%idxprom = sext i32 %n to i64, !dbg !21
%arrayidx = getelementptr inbounds i32, i32* %A, i64 %idxprom, !dbg !21
- %0 = load i32* %arrayidx, align 4, !dbg !21
+ %0 = load i32, i32* %arrayidx, align 4, !dbg !21
%cmp3 = icmp sgt i32 %0, 0, !dbg !21
br i1 %cmp3, label %for.body.lr.ph, label %for.end, !dbg !21
@@ -36,7 +36,7 @@ for.body: ; preds = %for.body.lr.ph, %fo
%inc = trunc i64 %1 to i32, !dbg !21
store i32 0, i32* %arrayidx2, align 4, !dbg !24
tail call void @llvm.dbg.value(metadata !{null}, i64 0, metadata !18), !dbg !20
- %2 = load i32* %arrayidx, align 4, !dbg !21
+ %2 = load i32, i32* %arrayidx, align 4, !dbg !21
%cmp = icmp slt i32 %inc, %2, !dbg !21
%indvar.next = add i64 %indvar, 1, !dbg !21
br i1 %cmp, label %for.body, label %for.cond.for.end_crit_edge, !dbg !21
diff --git a/polly/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll b/polly/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll
index f899bb2de9b..05ada58dd03 100644
--- a/polly/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll
+++ b/polly/test/ScopDetectionDiagnostics/ReportMultipleNonAffineAccesses.ll
@@ -75,22 +75,22 @@ for.body: ; preds = %entry.split, %for.b
%arrayidx15 = getelementptr float, float* %B, i64 %tmp3, !dbg !21
%mul1 = mul nsw i64 %mul, %tmp3, !dbg !17
%arrayidx = getelementptr inbounds float, float* %A, i64 %mul1, !dbg !22
- %tmp5 = load float* %arrayidx, align 4, !dbg !22
+ %tmp5 = load float, float* %arrayidx, align 4, !dbg !22
%mul3 = mul nsw i64 %mul, %tmp3, !dbg !27
%add1 = or i64 %mul3, 1, !dbg !27
%arrayidx4 = getelementptr inbounds float, float* %A, i64 %add1, !dbg !28
- %tmp6 = load float* %arrayidx4, align 4, !dbg !28
- %tmp7 = load float* %B, align 4, !dbg !29
- %tmp8 = load float* %arrayidx8, align 4, !dbg !19
+ %tmp6 = load float, float* %arrayidx4, align 4, !dbg !28
+ %tmp7 = load float, float* %B, align 4, !dbg !29
+ %tmp8 = load float, float* %arrayidx8, align 4, !dbg !19
%tmp9 = mul i64 %mul9, %tmp3, !dbg !15
%arrayidx10.sum = add i64 %tmp9, %tmp3, !dbg !15
%arrayidx11 = getelementptr inbounds float, float* %B, i64 %arrayidx10.sum, !dbg !15
- %tmp10 = load float* %arrayidx11, align 4, !dbg !15
- %tmp11 = load float* %arrayidx12, align 4, !dbg !20
- %tmp12 = load float* %arrayidx15, align 4, !dbg !21
+ %tmp10 = load float, float* %arrayidx11, align 4, !dbg !15
+ %tmp11 = load float, float* %arrayidx12, align 4, !dbg !20
+ %tmp12 = load float, float* %arrayidx15, align 4, !dbg !21
%mul16 = mul nsw i64 %tmp3, %tmp3, !dbg !30
%arrayidx18 = getelementptr inbounds float, float* %B, i64 %mul16, !dbg !31
- %tmp13 = load float* %arrayidx18, align 4, !dbg !31
+ %tmp13 = load float, float* %arrayidx18, align 4, !dbg !31
%add19 = fadd float %tmp5, %tmp6, !dbg !32
%add20 = fadd float %add19, %tmp7, !dbg !33
%add21 = fadd float %add20, %tmp8, !dbg !34
diff --git a/polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll b/polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll
index 62262a03b4e..23af51bf3bb 100644
--- a/polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll
+++ b/polly/test/ScopDetectionDiagnostics/ReportUnprofitable.ll
@@ -62,7 +62,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds float, float* %A, i64 %i.0, !dbg !36
- %val = load float* %arrayidx, align 4, !dbg !38
+ %val = load float, float* %arrayidx, align 4, !dbg !38
br label %for.inc, !dbg !36
for.inc: ; preds = %for.body
diff --git a/polly/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll b/polly/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll
index f15eaf5cfc4..695133d98f6 100644
--- a/polly/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll
+++ b/polly/test/ScopDetectionDiagnostics/ReportVariantBasePtr-01.ll
@@ -33,16 +33,16 @@ for.body: ; preds = %for.body, %entry.sp
%1 = add i64 %0, 3, !dbg !26
%2 = add i64 %0, 2, !dbg !26
%3 = add i64 %0, 1, !dbg !26
- %4 = load double*** %b, align 8, !dbg !26, !tbaa !28
+ %4 = load double**, double*** %b, align 8, !dbg !26, !tbaa !28
%arrayidx = getelementptr double*, double** %4, i64 %0, !dbg !26
store double* null, double** %arrayidx, align 8, !dbg !26, !tbaa !33
- %5 = load double*** %b, align 8, !dbg !26, !tbaa !28
+ %5 = load double**, double*** %b, align 8, !dbg !26, !tbaa !28
%arrayidx.1 = getelementptr double*, double** %5, i64 %3, !dbg !26
store double* null, double** %arrayidx.1, align 8, !dbg !26, !tbaa !33
- %6 = load double*** %b, align 8, !dbg !26, !tbaa !28
+ %6 = load double**, double*** %b, align 8, !dbg !26, !tbaa !28
%arrayidx.2 = getelementptr double*, double** %6, i64 %2, !dbg !26
store double* null, double** %arrayidx.2, align 8, !dbg !26, !tbaa !33
- %7 = load double*** %b, align 8, !dbg !26, !tbaa !28
+ %7 = load double**, double*** %b, align 8, !dbg !26, !tbaa !28
%arrayidx.3 = getelementptr double*, double** %7, i64 %1, !dbg !26
store double* null, double** %arrayidx.3, align 8, !dbg !26, !tbaa !33
%indvar.next = add i64 %indvar4, 1, !dbg !27
diff --git a/polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll b/polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll
index 0a2686954c2..728360cc82f 100644
--- a/polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll
+++ b/polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll
@@ -10,7 +10,7 @@ entry:
br label %if.then132
if.then132:
- %loaded = load i32* %A
+ %loaded = load i32, i32* %A
%0 = icmp ugt i32 %loaded, 10
%umax = select i1 %0, i32 %loaded, i32 10
br label %do.body
diff --git a/polly/test/ScopInfo/Alias-0.ll b/polly/test/ScopInfo/Alias-0.ll
index 18bf4ebf679..02a55a7f816 100644
--- a/polly/test/ScopInfo/Alias-0.ll
+++ b/polly/test/ScopInfo/Alias-0.ll
@@ -18,8 +18,8 @@ bb3: ; preds = %bb3, %bb.nph
%scevgep7 = getelementptr i32, i32* %iftmp.0.0, i64 %i.06 ; <i32*> [#uses=1]
%tmp = add i64 %i.06, 1 ; <i64> [#uses=3]
%scevgep8 = getelementptr i32, i32* %iftmp.0.0, i64 %tmp ; <i32*> [#uses=1]
- %2 = load i32* %scevgep, align 4 ; <i32> [#uses=1]
- %3 = load i32* %scevgep8, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %scevgep, align 4 ; <i32> [#uses=1]
+ %3 = load i32, i32* %scevgep8, align 4 ; <i32> [#uses=1]
%4 = shl i32 %3, 1 ; <i32> [#uses=1]
%5 = add nsw i32 %4, %2 ; <i32> [#uses=1]
store i32 %5, i32* %scevgep7, align 4
diff --git a/polly/test/ScopInfo/Alias-1.ll b/polly/test/ScopInfo/Alias-1.ll
index 2fe6b745132..1b24a90e129 100644
--- a/polly/test/ScopInfo/Alias-1.ll
+++ b/polly/test/ScopInfo/Alias-1.ll
@@ -19,8 +19,8 @@ bb3: ; preds = %bb3, %bb.nph
%scevgep7 = getelementptr i32, i32* %iftmp.0.0, i64 %i.06 ; <i32*> [#uses=1]
%tmp = add i64 %i.06, 1 ; <i64> [#uses=3]
%scevgep8 = getelementptr i32, i32* %iftmp.0.0, i64 %tmp ; <i32*> [#uses=1]
- %2 = load i32* %scevgep, align 4 ; <i32> [#uses=1]
- %3 = load i32* %scevgep8, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %scevgep, align 4 ; <i32> [#uses=1]
+ %3 = load i32, i32* %scevgep8, align 4 ; <i32> [#uses=1]
%4 = shl i32 %3, 1 ; <i32> [#uses=1]
%5 = add nsw i32 %4, %2 ; <i32> [#uses=1]
store i32 %5, i32* %scevgep7, align 4
diff --git a/polly/test/ScopInfo/Alias-2.ll b/polly/test/ScopInfo/Alias-2.ll
index 95b4a3dca65..31c50ca4883 100644
--- a/polly/test/ScopInfo/Alias-2.ll
+++ b/polly/test/ScopInfo/Alias-2.ll
@@ -8,11 +8,11 @@ target triple = "x86_64-linux-gnu"
define void @f(i32** nocapture %ptrs, i64 %p0, i64 %p1, i64 %p2) nounwind {
bb.nph:
%0 = getelementptr inbounds i32*, i32** %ptrs, i64 %p0 ; <i32**> [#uses=1]
- %1 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
%2 = getelementptr inbounds i32*, i32** %ptrs, i64 %p1 ; <i32**> [#uses=1]
- %3 = load i32** %2, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %2, align 8 ; <i32*> [#uses=1]
%4 = getelementptr inbounds i32*, i32** %ptrs, i64 %p2 ; <i32**> [#uses=1]
- %5 = load i32** %4, align 8 ; <i32*> [#uses=1]
+ %5 = load i32*, i32** %4, align 8 ; <i32*> [#uses=1]
br label %bb
bb: ; preds = %bb, %bb.nph
@@ -21,8 +21,8 @@ bb: ; preds = %bb, %bb.nph
%scevgep4 = getelementptr i32, i32* %5, i64 %i.03 ; <i32*> [#uses=1]
%tmp = add i64 %i.03, 1 ; <i64> [#uses=3]
%scevgep5 = getelementptr i32, i32* %1, i64 %tmp ; <i32*> [#uses=1]
- %6 = load i32* %scevgep, align 4 ; <i32> [#uses=1]
- %7 = load i32* %scevgep4, align 4 ; <i32> [#uses=1]
+ %6 = load i32, i32* %scevgep, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %scevgep4, align 4 ; <i32> [#uses=1]
%8 = add nsw i32 %7, %6 ; <i32> [#uses=1]
store i32 %8, i32* %scevgep5, align 4
%exitcond = icmp eq i64 %tmp, 64 ; <i1> [#uses=1]
diff --git a/polly/test/ScopInfo/Alias-3.ll b/polly/test/ScopInfo/Alias-3.ll
index fcb3aa3d1c6..53082d45c97 100644
--- a/polly/test/ScopInfo/Alias-3.ll
+++ b/polly/test/ScopInfo/Alias-3.ll
@@ -13,7 +13,7 @@ bb: ; preds = %bb, %bb.nph
%i.03 = phi i64 [ 0, %bb.nph ], [ %2, %bb ] ; <i64> [#uses=3]
%scevgep = getelementptr i32, i32* %b, i64 %i.03 ; <i32*> [#uses=1]
%scevgep4 = getelementptr i32, i32* %a, i64 %i.03 ; <i32*> [#uses=1]
- %0 = load i32* %scevgep, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %scevgep, align 4 ; <i32> [#uses=1]
%1 = add nsw i32 %0, 2 ; <i32> [#uses=1]
store i32 %1, i32* %scevgep4, align 4
%2 = add nsw i64 %i.03, 1 ; <i64> [#uses=2]
diff --git a/polly/test/ScopInfo/Alias-4.ll b/polly/test/ScopInfo/Alias-4.ll
index b327b49b4a8..39a3e1e9093 100644
--- a/polly/test/ScopInfo/Alias-4.ll
+++ b/polly/test/ScopInfo/Alias-4.ll
@@ -13,7 +13,7 @@ bb: ; preds = %bb, %bb.nph
%i.03 = phi i64 [ 0, %bb.nph ], [ %2, %bb ] ; <i64> [#uses=3]
%scevgep = getelementptr i32, i32* %b, i64 %i.03 ; <i32*> [#uses=1]
%scevgep4 = getelementptr i32, i32* %a, i64 %i.03 ; <i32*> [#uses=1]
- %0 = load i32* %scevgep, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %scevgep, align 4 ; <i32> [#uses=1]
%1 = add nsw i32 %0, 2 ; <i32> [#uses=1]
store i32 %1, i32* %scevgep4, align 4
%2 = add nsw i64 %i.03, 1 ; <i64> [#uses=2]
diff --git a/polly/test/ScopInfo/NonAffine/non_affine_access_with_range.ll b/polly/test/ScopInfo/NonAffine/non_affine_access_with_range.ll
index 4e399ba824d..9e281b185c4 100644
--- a/polly/test/ScopInfo/NonAffine/non_affine_access_with_range.ll
+++ b/polly/test/ScopInfo/NonAffine/non_affine_access_with_range.ll
@@ -27,7 +27,7 @@ bb2: ; preds = %bb1
%tmp4 = mul nuw nsw i64 %indvars.iv, %tmp3
%tmp4b = add nsw nuw i64 %tmp4, -3
%tmp5 = getelementptr inbounds i32, i32* %A, i64 %tmp4b
- %tmp6 = load i32* %tmp5, align 4
+ %tmp6 = load i32, i32* %tmp5, align 4
%tmp7 = add nsw i32 %tmp6, 1
store i32 %tmp7, i32* %tmp5, align 4
br label %bb8
diff --git a/polly/test/ScopInfo/NonAffine/non_affine_access_with_range_2.ll b/polly/test/ScopInfo/NonAffine/non_affine_access_with_range_2.ll
index 68dd27703be..46f87534156 100644
--- a/polly/test/ScopInfo/NonAffine/non_affine_access_with_range_2.ll
+++ b/polly/test/ScopInfo/NonAffine/non_affine_access_with_range_2.ll
@@ -33,7 +33,7 @@ bb6: ; preds = %bb11, %bb5
bb7: ; preds = %bb6
%tmp = mul nsw i64 %indvars.iv1, %indvars.iv
%tmp8 = getelementptr inbounds i32, i32* %A, i64 %tmp
- %tmp9 = load i32* %tmp8, align 4
+ %tmp9 = load i32, i32* %tmp8, align 4
%tmp10 = add nsw i32 %tmp9, 1
store i32 %tmp10, i32* %tmp8, align 4
br label %bb11
diff --git a/polly/test/ScopInfo/NonAffine/non_affine_but_sdiv.ll b/polly/test/ScopInfo/NonAffine/non_affine_but_sdiv.ll
index 4d83223cdc0..9a02041bd52 100644
--- a/polly/test/ScopInfo/NonAffine/non_affine_but_sdiv.ll
+++ b/polly/test/ScopInfo/NonAffine/non_affine_but_sdiv.ll
@@ -28,13 +28,13 @@ for.body: ; preds = %for.cond
%add = add nsw i32 %tmp1, %div
%idxprom = sext i32 %add to i64
%arrayidx = getelementptr inbounds i32, i32* %A, i64 %idxprom
- %tmp2 = load i32* %arrayidx, align 4
+ %tmp2 = load i32, i32* %arrayidx, align 4
%div1 = sdiv i32 %N, -5
%tmp3 = trunc i64 %indvars.iv to i32
%add2 = add nsw i32 %tmp3, %div1
%idxprom3 = sext i32 %add2 to i64
%arrayidx4 = getelementptr inbounds i32, i32* %A, i64 %idxprom3
- %tmp4 = load i32* %arrayidx4, align 4
+ %tmp4 = load i32, i32* %arrayidx4, align 4
%add5 = add nsw i32 %tmp2, %tmp4
%arrayidx7 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %add5, i32* %arrayidx7, align 4
diff --git a/polly/test/ScopInfo/NonAffine/non_affine_conditional_nested.ll b/polly/test/ScopInfo/NonAffine/non_affine_conditional_nested.ll
index 297166f03ec..1522963b7a4 100644
--- a/polly/test/ScopInfo/NonAffine/non_affine_conditional_nested.ll
+++ b/polly/test/ScopInfo/NonAffine/non_affine_conditional_nested.ll
@@ -38,21 +38,21 @@ bb1: ; preds = %bb17, %bb
bb2: ; preds = %bb1
%tmp = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp3 = load i32* %tmp, align 4
+ %tmp3 = load i32, i32* %tmp, align 4
%tmp4 = icmp eq i32 %tmp3, 0
br i1 %tmp4, label %bb16, label %bb5
bb5: ; preds = %bb2
%tmp6 = add nsw i64 %indvars.iv, -1
%tmp7 = getelementptr inbounds i32, i32* %A, i64 %tmp6
- %tmp8 = load i32* %tmp7, align 4
+ %tmp8 = load i32, i32* %tmp7, align 4
%tmp9 = icmp eq i32 %tmp8, 0
br i1 %tmp9, label %bb15, label %bb10
bb10: ; preds = %bb5
%tmp11 = add nsw i64 %indvars.iv, -2
%tmp12 = getelementptr inbounds i32, i32* %A, i64 %tmp11
- %tmp13 = load i32* %tmp12, align 4
+ %tmp13 = load i32, i32* %tmp12, align 4
%tmp14 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp13, i32* %tmp14, align 4
br label %bb15
diff --git a/polly/test/ScopInfo/NonAffine/non_affine_float_compare.ll b/polly/test/ScopInfo/NonAffine/non_affine_float_compare.ll
index df9866eb01f..7148abfe6d5 100644
--- a/polly/test/ScopInfo/NonAffine/non_affine_float_compare.ll
+++ b/polly/test/ScopInfo/NonAffine/non_affine_float_compare.ll
@@ -37,16 +37,16 @@ bb1: ; preds = %bb13, %bb
bb2: ; preds = %bb1
%tmp = getelementptr inbounds float, float* %A, i64 %indvars.iv
- %tmp3 = load float* %tmp, align 4
+ %tmp3 = load float, float* %tmp, align 4
%tmp4 = add nsw i64 %indvars.iv, -1
%tmp5 = getelementptr inbounds float, float* %A, i64 %tmp4
- %tmp6 = load float* %tmp5, align 4
+ %tmp6 = load float, float* %tmp5, align 4
%tmp7 = fcmp oeq float %tmp3, %tmp6
br i1 %tmp7, label %bb8, label %bb12
bb8: ; preds = %bb2
%tmp9 = getelementptr inbounds float, float* %A, i64 %indvars.iv
- %tmp10 = load float* %tmp9, align 4
+ %tmp10 = load float, float* %tmp9, align 4
%tmp11 = fadd float %tmp10, 1.000000e+00
store float %tmp11, float* %tmp9, align 4
br label %bb12
diff --git a/polly/test/ScopInfo/aliasing_conditional_alias_groups_1.ll b/polly/test/ScopInfo/aliasing_conditional_alias_groups_1.ll
index a259e5ab261..6491e1ebe17 100644
--- a/polly/test/ScopInfo/aliasing_conditional_alias_groups_1.ll
+++ b/polly/test/ScopInfo/aliasing_conditional_alias_groups_1.ll
@@ -31,7 +31,7 @@ for.body: ; preds = %for.cond
if.then: ; preds = %for.body
%tmp = add nsw i64 %indvars.iv, -1
%arrayidx = getelementptr inbounds i32, i32* %A, i64 %tmp
- %tmp3 = load i32* %arrayidx, align 4
+ %tmp3 = load i32, i32* %arrayidx, align 4
%arrayidx2 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp3, i32* %arrayidx2, align 4
br label %if.end
@@ -39,7 +39,7 @@ if.then: ; preds = %for.body
if.else: ; preds = %for.body
%tmp4 = add nsw i64 %indvars.iv, -1
%arrayidx5 = getelementptr inbounds i32, i32* %B, i64 %tmp4
- %tmp5 = load i32* %arrayidx5, align 4
+ %tmp5 = load i32, i32* %arrayidx5, align 4
%arrayidx7 = getelementptr inbounds i32, i32* %B, i64 %indvars.iv
store i32 %tmp5, i32* %arrayidx7, align 4
br label %if.end
diff --git a/polly/test/ScopInfo/aliasing_conditional_alias_groups_2.ll b/polly/test/ScopInfo/aliasing_conditional_alias_groups_2.ll
index 76d3cec5d03..d25f17e952d 100644
--- a/polly/test/ScopInfo/aliasing_conditional_alias_groups_2.ll
+++ b/polly/test/ScopInfo/aliasing_conditional_alias_groups_2.ll
@@ -31,14 +31,14 @@ for.body: ; preds = %for.cond
if.then: ; preds = %for.body
%arrayidx = getelementptr inbounds i32, i32* %B, i64 5
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx1 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp, i32* %arrayidx1, align 4
br label %if.end
if.else: ; preds = %for.body
%arrayidx2 = getelementptr inbounds i32, i32* %A, i64 7
- %tmp1 = load i32* %arrayidx2, align 4
+ %tmp1 = load i32, i32* %arrayidx2, align 4
%arrayidx4 = getelementptr inbounds i32, i32* %B, i64 %indvars.iv
store i32 %tmp1, i32* %arrayidx4, align 4
br label %if.end
diff --git a/polly/test/ScopInfo/aliasing_dead_access.ll b/polly/test/ScopInfo/aliasing_dead_access.ll
index c9a1c07968a..42d3488b67c 100644
--- a/polly/test/ScopInfo/aliasing_dead_access.ll
+++ b/polly/test/ScopInfo/aliasing_dead_access.ll
@@ -32,7 +32,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %indvars.iv
- %tmp1 = load i32* %arrayidx, align 4
+ %tmp1 = load i32, i32* %arrayidx, align 4
%arrayidx5 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %tmp1, i32* %arrayidx5, align 4
br label %for.inc
diff --git a/polly/test/ScopInfo/aliasing_many_parameters_not_all_involved.ll b/polly/test/ScopInfo/aliasing_many_parameters_not_all_involved.ll
index 74abb7dc487..c719ed905ad 100644
--- a/polly/test/ScopInfo/aliasing_many_parameters_not_all_involved.ll
+++ b/polly/test/ScopInfo/aliasing_many_parameters_not_all_involved.ll
@@ -30,53 +30,53 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i32, i32* %B, i64 %p1
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx1 = getelementptr inbounds i32, i32* %B, i64 %p2
- %tmp1 = load i32* %arrayidx1, align 4
+ %tmp1 = load i32, i32* %arrayidx1, align 4
%sub = sub nsw i32 %tmp, %tmp1
%sub2 = sub nsw i64 0, %p3
%arrayidx3 = getelementptr inbounds i32, i32* %B, i64 %sub2
- %tmp2 = load i32* %arrayidx3, align 4
+ %tmp2 = load i32, i32* %arrayidx3, align 4
%add = add nsw i32 %sub, %tmp2
%arrayidx4 = getelementptr inbounds i32, i32* %B, i64 %p4
- %tmp3 = load i32* %arrayidx4, align 4
+ %tmp3 = load i32, i32* %arrayidx4, align 4
%sub5 = sub nsw i32 %add, %tmp3
%arrayidx6 = getelementptr inbounds i32, i32* %B, i64 %p5
- %tmp4 = load i32* %arrayidx6, align 4
+ %tmp4 = load i32, i32* %arrayidx6, align 4
%add7 = add nsw i32 %sub5, %tmp4
%sub8 = sub nsw i64 0, %p6
%arrayidx9 = getelementptr inbounds i32, i32* %B, i64 %sub8
- %tmp5 = load i32* %arrayidx9, align 4
+ %tmp5 = load i32, i32* %arrayidx9, align 4
%sub10 = sub nsw i32 %add7, %tmp5
%arrayidx11 = getelementptr inbounds i32, i32* %B, i64 %p7
- %tmp6 = load i32* %arrayidx11, align 4
+ %tmp6 = load i32, i32* %arrayidx11, align 4
%add12 = add nsw i32 %sub10, %tmp6
%arrayidx13 = getelementptr inbounds i32, i32* %C, i64 %p3
- %tmp7 = load i32* %arrayidx13, align 4
+ %tmp7 = load i32, i32* %arrayidx13, align 4
%sub14 = sub nsw i32 %add12, %tmp7
%sub15 = sub nsw i64 0, %p4
%arrayidx16 = getelementptr inbounds i32, i32* %C, i64 %sub15
- %tmp8 = load i32* %arrayidx16, align 4
+ %tmp8 = load i32, i32* %arrayidx16, align 4
%add17 = add nsw i32 %sub14, %tmp8
%arrayidx18 = getelementptr inbounds i32, i32* %C, i64 %p5
- %tmp9 = load i32* %arrayidx18, align 4
+ %tmp9 = load i32, i32* %arrayidx18, align 4
%sub19 = sub nsw i32 %add17, %tmp9
%arrayidx20 = getelementptr inbounds i32, i32* %C, i64 %p6
- %tmp10 = load i32* %arrayidx20, align 4
+ %tmp10 = load i32, i32* %arrayidx20, align 4
%add21 = add nsw i32 %sub19, %tmp10
%sub22 = sub nsw i64 0, %p7
%arrayidx23 = getelementptr inbounds i32, i32* %C, i64 %sub22
- %tmp11 = load i32* %arrayidx23, align 4
+ %tmp11 = load i32, i32* %arrayidx23, align 4
%sub24 = sub nsw i32 %add21, %tmp11
%arrayidx25 = getelementptr inbounds i32, i32* %C, i64 %p8
- %tmp12 = load i32* %arrayidx25, align 4
+ %tmp12 = load i32, i32* %arrayidx25, align 4
%add26 = add nsw i32 %sub24, %tmp12
%arrayidx27 = getelementptr inbounds i32, i32* %C, i64 %p9
- %tmp13 = load i32* %arrayidx27, align 4
+ %tmp13 = load i32, i32* %arrayidx27, align 4
%sub28 = sub nsw i32 %add26, %tmp13
%sub29 = sub nsw i64 0, %p10
%arrayidx30 = getelementptr inbounds i32, i32* %C, i64 %sub29
- %tmp14 = load i32* %arrayidx30, align 4
+ %tmp14 = load i32, i32* %arrayidx30, align 4
%add31 = add nsw i32 %sub28, %tmp14
%arrayidx32 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
store i32 %add31, i32* %arrayidx32, align 4
diff --git a/polly/test/ScopInfo/aliasing_multiple_alias_groups.ll b/polly/test/ScopInfo/aliasing_multiple_alias_groups.ll
index 1eade09c7ab..e16f0238d85 100644
--- a/polly/test/ScopInfo/aliasing_multiple_alias_groups.ll
+++ b/polly/test/ScopInfo/aliasing_multiple_alias_groups.ll
@@ -17,11 +17,11 @@ entry:
for.body: ; preds = %for.body, %entry
%indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ]
%arrayidx = getelementptr inbounds i32, i32* %Int1, i64 %indvars.iv
- %tmp = load i32* %arrayidx, align 4, !tbaa !0
+ %tmp = load i32, i32* %arrayidx, align 4, !tbaa !0
%arrayidx2 = getelementptr inbounds i32, i32* %Int0, i64 %indvars.iv
store i32 %tmp, i32* %arrayidx2, align 4, !tbaa !0
%arrayidx4 = getelementptr inbounds float, float* %Float1, i64 %indvars.iv
- %tmp1 = load float* %arrayidx4, align 4, !tbaa !4
+ %tmp1 = load float, float* %arrayidx4, align 4, !tbaa !4
%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
diff --git a/polly/test/ScopInfo/constant_start_integer.ll b/polly/test/ScopInfo/constant_start_integer.ll
index ca8157f8a37..92695a80c43 100644
--- a/polly/test/ScopInfo/constant_start_integer.ll
+++ b/polly/test/ScopInfo/constant_start_integer.ll
@@ -34,7 +34,7 @@ for.body3: ; preds = %for.body3, %for.con
%add = add nsw i64 %i.020, %mul
%add4 = add nsw i64 %add, 1
%arrayidx = getelementptr inbounds float, float* %input, i64 %add4
- %0 = load float* %arrayidx, align 8
+ %0 = load float, float* %arrayidx, align 8
%mul5 = fmul float %0, %0
%arrayidx9 = getelementptr inbounds float, float* %input, i64 %add
store float %mul5, float* %arrayidx9, align 8
diff --git a/polly/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll b/polly/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll
index 8ca6a8adb30..672d36927b3 100644
--- a/polly/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll
+++ b/polly/test/ScopInfo/independent-blocks-never-stop-on-big-scop.ll
@@ -19,7 +19,7 @@ define i32 @main() nounwind uwtable readnone {
.preheader: ; preds = %.preheader, %1
%indvars.iv = phi i64 [ %indvars.iv.next, %.preheader ], [ 0, %1 ]
%4 = getelementptr inbounds [100 x i32], [100 x i32]* %arr, i64 0, i64 %indvars.iv
- %5 = load i32* %4, align 4, !tbaa !0
+ %5 = load i32, i32* %4, align 4, !tbaa !0
%6 = xor i32 %5, -1
%7 = shl i32 %5, 15
%8 = add nsw i32 %7, %6
diff --git a/polly/test/ScopInfo/isl_aff_out_of_bounds.ll b/polly/test/ScopInfo/isl_aff_out_of_bounds.ll
index 9c418564b9c..bd5ec8d70e5 100644
--- a/polly/test/ScopInfo/isl_aff_out_of_bounds.ll
+++ b/polly/test/ScopInfo/isl_aff_out_of_bounds.ll
@@ -22,7 +22,7 @@ do.end: ; preds = %do.body
br i1 false, label %if.end.single_exit, label %if.then
if.then: ; preds = %do.end
- %0 = load float* %add.ptr, align 4
+ %0 = load float, float* %add.ptr, align 4
store float %0, float* %q.1.reg2mem, align 4
br label %if.end.single_exit
@@ -30,7 +30,7 @@ if.end.single_exit: ; preds = %do.end, %if.then
br label %if.end
if.end: ; preds = %if.end.single_exit
- %q.1.reload = load float* %q.1.reg2mem, align 4
+ %q.1.reload = load float, float* %q.1.reg2mem, align 4
%conv31 = fpext float %q.1.reload to double
%call32 = call double @frexp(double %conv31)
unreachable
diff --git a/polly/test/ScopInfo/loop_carry.ll b/polly/test/ScopInfo/loop_carry.ll
index aa32ab7aaf7..dc33aaa94a2 100644
--- a/polly/test/ScopInfo/loop_carry.ll
+++ b/polly/test/ScopInfo/loop_carry.ll
@@ -20,7 +20,7 @@ entry:
bb.nph: ; preds = %entry
%tmp = add i64 %n, -1 ; <i64> [#uses=1]
- %.pre = load i64* %a, align 8 ; <i64> [#uses=1]
+ %.pre = load i64, i64* %a, align 8 ; <i64> [#uses=1]
br label %bb
bb: ; preds = %bb, %bb.nph
@@ -36,8 +36,8 @@ bb: ; preds = %bb, %bb.nph
%tmp8 = add i64 %tmp7, 2 ; <i64> [#uses=1]
%scevgep12 = getelementptr i64, i64* %a, i64 %tmp11 ; <i64*> [#uses=1]
%scevgep9 = getelementptr i64, i64* %a, i64 %tmp8 ; <i64*> [#uses=1]
- %3 = load i64* %scevgep9, align 8 ; <i64> [#uses=1]
- %4 = load i64* %scevgep12, align 8 ; <i64> [#uses=1]
+ %3 = load i64, i64* %scevgep9, align 8 ; <i64> [#uses=1]
+ %4 = load i64, i64* %scevgep12, align 8 ; <i64> [#uses=1]
%5 = add nsw i64 %3, %4 ; <i64> [#uses=1]
%exitcond = icmp eq i64 %tmp6, %tmp ; <i1> [#uses=1]
br i1 %exitcond, label %bb2, label %bb
diff --git a/polly/test/ScopInfo/max-loop-depth.ll b/polly/test/ScopInfo/max-loop-depth.ll
index 0c8e7284fa2..b62510e51d4 100644
--- a/polly/test/ScopInfo/max-loop-depth.ll
+++ b/polly/test/ScopInfo/max-loop-depth.ll
@@ -36,7 +36,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %A, i64 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 1
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
@@ -55,7 +55,7 @@ for.cond5: ; preds = %for.inc10, %for.end
for.body7: ; preds = %for.cond5
%arrayidx8 = getelementptr inbounds i32, i32* %A, i64 %i4.0
- %tmp1 = load i32* %arrayidx8, align 4
+ %tmp1 = load i32, i32* %arrayidx8, align 4
%add9 = add nsw i32 %tmp1, 1
store i32 %add9, i32* %arrayidx8, align 4
br label %for.inc10
diff --git a/polly/test/ScopInfo/non_affine_parametric_loop.ll b/polly/test/ScopInfo/non_affine_parametric_loop.ll
index af51775c30b..81cd03b9cdc 100644
--- a/polly/test/ScopInfo/non_affine_parametric_loop.ll
+++ b/polly/test/ScopInfo/non_affine_parametric_loop.ll
@@ -14,7 +14,7 @@ entry:
for.body:
%i = phi i64 [ %inc, %for.body ], [ 0, %entry ]
%arrayidx = getelementptr inbounds i64, i64* %INDEX, i64 %i
- %val = load i64* %arrayidx
+ %val = load i64, i64* %arrayidx
%arrayidx1 = getelementptr inbounds double, double* %A, i64 %val
store double 1.0, double* %arrayidx1
%inc = add nsw i64 %i, 1
diff --git a/polly/test/ScopInfo/phi_loop_carried_float.ll b/polly/test/ScopInfo/phi_loop_carried_float.ll
index ff35a07bd7f..d4791bfcd82 100644
--- a/polly/test/ScopInfo/phi_loop_carried_float.ll
+++ b/polly/test/ScopInfo/phi_loop_carried_float.ll
@@ -38,7 +38,7 @@ bb3: ; preds = %bb1
bb4: ; preds = %bb3
%tmp5 = getelementptr inbounds float, float* %A, i64 %indvars.iv
- %tmp6 = load float* %tmp5, align 4
+ %tmp6 = load float, float* %tmp5, align 4
%tmp7 = fadd float %tmp.0, %tmp6
%indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
br label %bb1
diff --git a/polly/test/ScopInfo/phi_scalar_simple_1.ll b/polly/test/ScopInfo/phi_scalar_simple_1.ll
index 3c6408a4ad8..2fdb41930a1 100644
--- a/polly/test/ScopInfo/phi_scalar_simple_1.ll
+++ b/polly/test/ScopInfo/phi_scalar_simple_1.ll
@@ -58,7 +58,7 @@ for.inc: ; preds = %for.body3
; CHECK: ReadAccess := [Reduction Type: NONE] [Scalar: 0]
; CHECK: [N] -> { Stmt_for_inc[i0, i1] -> MemRef_A[1 + i0] };
%arrayidx = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp1 = load i32* %arrayidx, align 4
+ %tmp1 = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %x.addr.1, %tmp1
%inc = add nsw i32 %j.0, 1
br label %for.cond1
diff --git a/polly/test/ScopInfo/phi_scalar_simple_2.ll b/polly/test/ScopInfo/phi_scalar_simple_2.ll
index c44718127ba..68e62743854 100644
--- a/polly/test/ScopInfo/phi_scalar_simple_2.ll
+++ b/polly/test/ScopInfo/phi_scalar_simple_2.ll
@@ -74,7 +74,7 @@ if.then: ; preds = %for.body3
; CHECK: MustWriteAccess := [Reduction Type: NONE] [Scalar: 1]
; CHECK: [N, c] -> { Stmt_if_then[i0, i1] -> MemRef_x_addr_2[] };
%arrayidx = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- %tmp2 = load i32* %arrayidx, align 4
+ %tmp2 = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %x.addr.1, %tmp2
br label %if.end
diff --git a/polly/test/ScopInfo/ranged_parameter.ll b/polly/test/ScopInfo/ranged_parameter.ll
index 6fccd91c576..b46cb761b1f 100644
--- a/polly/test/ScopInfo/ranged_parameter.ll
+++ b/polly/test/ScopInfo/ranged_parameter.ll
@@ -15,7 +15,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define void @jd(i32* %A, i32* %p) {
entry:
- %tmp = load i32* %p, align 4, !range !0
+ %tmp = load i32, i32* %p, align 4, !range !0
br label %for.cond
for.cond: ; preds = %for.inc, %entry
diff --git a/polly/test/ScopInfo/ranged_parameter_wrap.ll b/polly/test/ScopInfo/ranged_parameter_wrap.ll
index 94f30e47f73..f528ed02b5c 100644
--- a/polly/test/ScopInfo/ranged_parameter_wrap.ll
+++ b/polly/test/ScopInfo/ranged_parameter_wrap.ll
@@ -15,7 +15,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define void @jd(i32* %A, i32* %p) {
entry:
- %tmp = load i32* %p, align 4, !range !0
+ %tmp = load i32, i32* %p, align 4, !range !0
br label %for.cond
for.cond: ; preds = %for.inc, %entry
diff --git a/polly/test/ScopInfo/reduction_alternating_base.ll b/polly/test/ScopInfo/reduction_alternating_base.ll
index 2bb5add0f12..25f1a36310d 100644
--- a/polly/test/ScopInfo/reduction_alternating_base.ll
+++ b/polly/test/ScopInfo/reduction_alternating_base.ll
@@ -24,7 +24,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%rem = srem i32 %i.0, 2
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %rem
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
store i32 %add, i32* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/ScopInfo/reduction_chain_partially_outside_the_scop.ll b/polly/test/ScopInfo/reduction_chain_partially_outside_the_scop.ll
index 7a69ab0de22..7b84b4626a3 100644
--- a/polly/test/ScopInfo/reduction_chain_partially_outside_the_scop.ll
+++ b/polly/test/ScopInfo/reduction_chain_partially_outside_the_scop.ll
@@ -15,8 +15,8 @@ target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64"
define void @loads_outside_scop(i32* %sum) {
entry:
- %tmp = load i32* @c, align 4
- %tmp1 = load i32* @d, align 4
+ %tmp = load i32, i32* @c, align 4
+ %tmp1 = load i32, i32* @d, align 4
br label %for.cond
for.cond: ; preds = %for.inc, %entry
@@ -40,8 +40,8 @@ for.end: ; preds = %for.cond
define void @binop_outside_scop(i32* %sum) {
entry:
- %tmp = load i32* @c, align 4
- %tmp1 = load i32* @d, align 4
+ %tmp = load i32, i32* @c, align 4
+ %tmp1 = load i32, i32* @d, align 4
%add = add nsw i32 %tmp, %tmp1
br label %for.cond
diff --git a/polly/test/ScopInfo/reduction_disabled_multiplicative.ll b/polly/test/ScopInfo/reduction_disabled_multiplicative.ll
index 50682d94548..6843aacfc9b 100644
--- a/polly/test/ScopInfo/reduction_disabled_multiplicative.ll
+++ b/polly/test/ScopInfo/reduction_disabled_multiplicative.ll
@@ -34,11 +34,11 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%mul = mul nsw i32 %i1.0, 3
- %tmp = load i32* @sum, align 4
+ %tmp = load i32, i32* @sum, align 4
%add = add nsw i32 %tmp, %mul
store i32 %add, i32* @sum, align 4
%add2 = add nsw i32 %i1.0, 3
- %tmp1 = load i32* @prod, align 4
+ %tmp1 = load i32, i32* @prod, align 4
%mul3 = mul nsw i32 %tmp1, %add2
store i32 %mul3, i32* @prod, align 4
br label %for.inc
diff --git a/polly/test/ScopInfo/reduction_escaping_intermediate.ll b/polly/test/ScopInfo/reduction_escaping_intermediate.ll
index cc08afed88f..652e7c29081 100644
--- a/polly/test/ScopInfo/reduction_escaping_intermediate.ll
+++ b/polly/test/ScopInfo/reduction_escaping_intermediate.ll
@@ -37,7 +37,7 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %sums, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 5
store i32 %add, i32* %arrayidx, align 4
%sub = sub nsw i32 %N, %i.0
diff --git a/polly/test/ScopInfo/reduction_escaping_intermediate_2.ll b/polly/test/ScopInfo/reduction_escaping_intermediate_2.ll
index 7bd5e8e482b..b53a869c39e 100644
--- a/polly/test/ScopInfo/reduction_escaping_intermediate_2.ll
+++ b/polly/test/ScopInfo/reduction_escaping_intermediate_2.ll
@@ -41,14 +41,14 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %sums, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 5
store i32 %add, i32* %arrayidx, align 4
%arrayidx4 = getelementptr inbounds i32, i32* %escape, i32 %i.0
- %tmp2 = load i32* %arrayidx4, align 4
+ %tmp2 = load i32, i32* %arrayidx4, align 4
%sub = add nsw i32 %i.0, -1
%arrayidx5 = getelementptr inbounds i32, i32* %sums, i32 %sub
- %tmp3 = load i32* %arrayidx5, align 4
+ %tmp3 = load i32, i32* %arrayidx5, align 4
%add6 = add nsw i32 %tmp2, %tmp3
%sub7 = sub nsw i32 %N, %i.0
%add8 = add nsw i32 %sub7, %j.0
diff --git a/polly/test/ScopInfo/reduction_invalid_different_operators.ll b/polly/test/ScopInfo/reduction_invalid_different_operators.ll
index 7856f325767..a1e78bb2104 100644
--- a/polly/test/ScopInfo/reduction_invalid_different_operators.ll
+++ b/polly/test/ScopInfo/reduction_invalid_different_operators.ll
@@ -27,14 +27,14 @@ entry.split: ; preds = %entry
for.cond: ; preds = %for.cond, %entry.split
%i.0 = phi i32 [ 0, %entry.split ], [ %inc, %for.cond ]
- %sth.0.reload = load i32* %sth.0
- %sum.0.reload = load i32* %sum.0
+ %sth.0.reload = load i32, i32* %sth.0
+ %sum.0.reload = load i32, i32* %sum.0
%exitcond = icmp ne i32 %i.0, 1024
%mul = mul nsw i32 %sth.0.reload, %sth.0.reload
%add1 = add nsw i32 %sth.0.reload, %mul
%tmp = mul i32 %sum.0.reload, 5
store i32 %tmp, i32* %sum.0
- %sum.1.reload = load i32* %sum.0
+ %sum.1.reload = load i32, i32* %sum.0
%mul3 = add i32 %sum.1.reload, 25
%add2 = add nsw i32 %add1, %sth.0.reload
%inc = add nsw i32 %i.0, 1
@@ -43,8 +43,8 @@ for.cond: ; preds = %for.cond, %entry.sp
br i1 %exitcond, label %for.cond, label %for.end
for.end: ; preds = %for.cond
- %sum.0.reload.2 = load i32* %sum.0
- %sth.0.reload.2 = load i32* %sth.0
+ %sum.0.reload.2 = load i32, i32* %sum.0
+ %sth.0.reload.2 = load i32, i32* %sth.0
%add4 = add nsw i32 %sum.0.reload.2, %sth.0.reload.2
ret i32 %add4
}
diff --git a/polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll b/polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll
index 6b7be71dc5b..0a97797c267 100644
--- a/polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll
+++ b/polly/test/ScopInfo/reduction_invalid_overlapping_accesses.ll
@@ -33,12 +33,12 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %sums, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 5
store i32 %add, i32* %arrayidx, align 4
%add4 = add nsw i32 %i.0, 10
%arrayidx5 = getelementptr inbounds i32, i32* %sums, i32 %add4
- %tmp2 = load i32* %arrayidx5, align 4
+ %tmp2 = load i32, i32* %arrayidx5, align 4
%mul = mul nsw i32 %tmp2, 5
store i32 %mul, i32* %arrayidx5, align 4
br label %for.inc
diff --git a/polly/test/ScopInfo/reduction_multiple_loops_array_sum.ll b/polly/test/ScopInfo/reduction_multiple_loops_array_sum.ll
index e5dc2782ad3..c25a01f9c2f 100644
--- a/polly/test/ScopInfo/reduction_multiple_loops_array_sum.ll
+++ b/polly/test/ScopInfo/reduction_multiple_loops_array_sum.ll
@@ -40,7 +40,7 @@ for.cond: ; preds = %for.inc6, %entry
br i1 %exitcond1, label %for.body, label %for.end8
for.body: ; preds = %for.cond
- %tmp = load i32* %sum, align 4
+ %tmp = load i32, i32* %sum, align 4
%mul = mul nsw i32 %tmp, 7
store i32 %mul, i32* %sum, align 4
br label %for.cond1
@@ -53,8 +53,8 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%add = add nsw i32 %i.0, %j.0
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %add
- %tmp2 = load i32* %arrayidx, align 4
- %tmp3 = load i32* %sum, align 4
+ %tmp2 = load i32, i32* %arrayidx, align 4
+ %tmp3 = load i32, i32* %sum, align 4
%add4 = add nsw i32 %tmp3, %tmp2
store i32 %add4, i32* %sum, align 4
br label %for.inc
@@ -64,7 +64,7 @@ for.inc: ; preds = %for.body3
br label %for.cond1
for.end: ; preds = %for.cond1
- %tmp4 = load i32* %sum, align 4
+ %tmp4 = load i32, i32* %sum, align 4
%mul5 = mul nsw i32 %tmp4, 5
store i32 %mul5, i32* %sum, align 4
br label %for.inc6
diff --git a/polly/test/ScopInfo/reduction_multiple_loops_array_sum_1.ll b/polly/test/ScopInfo/reduction_multiple_loops_array_sum_1.ll
index 7ff0d381008..7d5bf04add7 100644
--- a/polly/test/ScopInfo/reduction_multiple_loops_array_sum_1.ll
+++ b/polly/test/ScopInfo/reduction_multiple_loops_array_sum_1.ll
@@ -42,17 +42,17 @@ entry.split: ; preds = %entry
for.body: ; preds = %for.inc5, %entry.split
%indvars.iv23 = phi i64 [ 0, %entry.split ], [ %3, %for.inc5 ]
- %sum.04.reload = load i32* %sum.04.reg2mem
+ %sum.04.reload = load i32, i32* %sum.04.reg2mem
%mul = mul nsw i32 %sum.04.reload, 7
store i32 %mul, i32* %sum.12.reg2mem
br label %for.inc
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
+ %sum.12.reload = load i32, i32* %sum.12.reg2mem
%0 = add i64 %indvars.iv23, %indvars.iv1
%arrayidx = getelementptr i32, i32* %A, i64 %0
- %tmp5 = load i32* %arrayidx, align 4
+ %tmp5 = load i32, i32* %arrayidx, align 4
%add4 = add nsw i32 %tmp5, %sum.12.reload
%1 = add nuw nsw i64 %indvars.iv1, 1
%exitcond1 = icmp eq i64 %1, 100
@@ -60,13 +60,13 @@ for.inc: ; preds = %for.inc, %for.body
br i1 %exitcond1, label %for.inc5, label %for.inc
for.inc5: ; preds = %for.inc
- %2 = load i32* %sum.12.reg2mem
+ %2 = load i32, i32* %sum.12.reg2mem
%3 = add nuw nsw i64 %indvars.iv23, 1
%exitcond2 = icmp eq i64 %3, 100
store i32 %2, i32* %sum.04.reg2mem
br i1 %exitcond2, label %for.end7, label %for.body
for.end7: ; preds = %for.inc5
- %4 = load i32* %sum.04.reg2mem
+ %4 = load i32, i32* %sum.04.reg2mem
ret i32 %4
}
diff --git a/polly/test/ScopInfo/reduction_multiple_simple_binary.ll b/polly/test/ScopInfo/reduction_multiple_simple_binary.ll
index f085d99b8a0..254fe454777 100644
--- a/polly/test/ScopInfo/reduction_multiple_simple_binary.ll
+++ b/polly/test/ScopInfo/reduction_multiple_simple_binary.ll
@@ -59,32 +59,32 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%add = add nsw i32 %i1.0, 1
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %add
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidx2 = getelementptr inbounds i32, i32* %A, i32 %i1.0
- %tmp1 = load i32* %arrayidx2, align 4
+ %tmp1 = load i32, i32* %arrayidx2, align 4
%add3 = add nsw i32 %tmp, %tmp1
store i32 %add3, i32* @first, align 4
%mul = mul nsw i32 %i1.0, 3
- %tmp2 = load i32* @sum, align 4
+ %tmp2 = load i32, i32* @sum, align 4
%add4 = add nsw i32 %tmp2, %mul
store i32 %add4, i32* @sum, align 4
%sub = add nsw i32 %i1.0, -1
%arrayidx5 = getelementptr inbounds i32, i32* %A, i32 %sub
- %tmp3 = load i32* %arrayidx5, align 4
+ %tmp3 = load i32, i32* %arrayidx5, align 4
%arrayidx6 = getelementptr inbounds i32, i32* %A, i32 %i1.0
- %tmp4 = load i32* %arrayidx6, align 4
+ %tmp4 = load i32, i32* %arrayidx6, align 4
%add7 = add nsw i32 %tmp3, %tmp4
store i32 %add7, i32* @middle, align 4
%add8 = add nsw i32 %i1.0, 3
- %tmp5 = load i32* @prod, align 4
+ %tmp5 = load i32, i32* @prod, align 4
%mul9 = mul nsw i32 %tmp5, %add8
store i32 %mul9, i32* @prod, align 4
%sub10 = add nsw i32 %i1.0, -1
%arrayidx11 = getelementptr inbounds i32, i32* %A, i32 %sub10
- %tmp6 = load i32* %arrayidx11, align 4
+ %tmp6 = load i32, i32* %arrayidx11, align 4
%add12 = add nsw i32 %i1.0, 1
%arrayidx13 = getelementptr inbounds i32, i32* %A, i32 %add12
- %tmp7 = load i32* %arrayidx13, align 4
+ %tmp7 = load i32, i32* %arrayidx13, align 4
%add14 = add nsw i32 %tmp6, %tmp7
store i32 %add14, i32* @last, align 4
br label %for.inc
diff --git a/polly/test/ScopInfo/reduction_non_overlapping_chains.ll b/polly/test/ScopInfo/reduction_non_overlapping_chains.ll
index 490035e046f..91eb488707a 100644
--- a/polly/test/ScopInfo/reduction_non_overlapping_chains.ll
+++ b/polly/test/ScopInfo/reduction_non_overlapping_chains.ll
@@ -34,12 +34,12 @@ for.cond1: ; preds = %for.inc, %for.body
for.body3: ; preds = %for.cond1
%arrayidx = getelementptr inbounds i32, i32* %sums, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, 5
store i32 %add, i32* %arrayidx, align 4
%add4 = add nsw i32 %i.0, 1024
%arrayidx5 = getelementptr inbounds i32, i32* %sums, i32 %add4
- %tmp2 = load i32* %arrayidx5, align 4
+ %tmp2 = load i32, i32* %arrayidx5, align 4
%mul = mul nsw i32 %tmp2, 5
store i32 %mul, i32* %arrayidx5, align 4
br label %for.inc
diff --git a/polly/test/ScopInfo/reduction_only_reduction_like_access.ll b/polly/test/ScopInfo/reduction_only_reduction_like_access.ll
index dd590d221a8..78c1cd52ae2 100644
--- a/polly/test/ScopInfo/reduction_only_reduction_like_access.ll
+++ b/polly/test/ScopInfo/reduction_only_reduction_like_access.ll
@@ -20,7 +20,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%sub = sub nsw i32 99, %i.0
%arrayidx = getelementptr inbounds i32, i32* %sum, i32 %sub
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %i.0
%arrayidx1 = getelementptr inbounds i32, i32* %sum, i32 %i.0
store i32 %add, i32* %arrayidx1, align 4
diff --git a/polly/test/ScopInfo/reduction_simple_fp.ll b/polly/test/ScopInfo/reduction_simple_fp.ll
index 74f7998ae59..8afbb3a4213 100644
--- a/polly/test/ScopInfo/reduction_simple_fp.ll
+++ b/polly/test/ScopInfo/reduction_simple_fp.ll
@@ -24,7 +24,7 @@ for.body: ; preds = %for.cond
%conv = sitofp i32 %i.0 to float
%pi = fptrunc double 3.41 to float
%mul = fmul float %conv, %pi
- %tmp = load float* %sum, align 4
+ %tmp = load float, float* %sum, align 4
%add = fadd float %tmp, %mul
store float %add, float* %sum, align 4
br label %for.inc
@@ -50,7 +50,7 @@ for.body: ; preds = %for.cond
%conv = sitofp i32 %i.0 to float
%pi = fptrunc double 3.41 to float
%mul = fmul fast float %conv, %pi
- %tmp = load float* %sum, align 4
+ %tmp = load float, float* %sum, align 4
%add = fadd fast float %tmp, %mul
store float %add, float* %sum, align 4
br label %for.inc
diff --git a/polly/test/ScopInfo/reduction_simple_w_constant.ll b/polly/test/ScopInfo/reduction_simple_w_constant.ll
index f1517930ad8..833765542ad 100644
--- a/polly/test/ScopInfo/reduction_simple_w_constant.ll
+++ b/polly/test/ScopInfo/reduction_simple_w_constant.ll
@@ -14,7 +14,7 @@ entry:
for.cond: ; preds = %for.cond, %entry
%i1.0 = phi i32 [ 0, %entry ], [ %inc, %for.cond ]
- %sum.reload = load i32* %sum
+ %sum.reload = load i32, i32* %sum
%add = add nsw i32 %sum.reload, 3
%inc = add nsw i32 %i1.0, 1
store i32 %add, i32* %sum
diff --git a/polly/test/ScopInfo/reduction_simple_w_iv.ll b/polly/test/ScopInfo/reduction_simple_w_iv.ll
index 301ce4baa6d..99f64ec1f82 100644
--- a/polly/test/ScopInfo/reduction_simple_w_iv.ll
+++ b/polly/test/ScopInfo/reduction_simple_w_iv.ll
@@ -14,7 +14,7 @@ entry:
for.cond: ; preds = %for.cond, %entr
%i1.0 = phi i32 [ 0, %entry ], [ %inc, %for.cond ]
- %sum.reload = load i32* %sum
+ %sum.reload = load i32, i32* %sum
%mul = mul nsw i32 %i1.0, 3
%add = add nsw i32 %sum.reload, %mul
%inc = add nsw i32 %i1.0, 1
diff --git a/polly/test/ScopInfo/reduction_two_identical_reads.ll b/polly/test/ScopInfo/reduction_two_identical_reads.ll
index 9e4bb284b64..5ffec703815 100644
--- a/polly/test/ScopInfo/reduction_two_identical_reads.ll
+++ b/polly/test/ScopInfo/reduction_two_identical_reads.ll
@@ -24,7 +24,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%add = add nsw i32 %tmp, %tmp
%arrayidx2 = getelementptr inbounds i32, i32* %A, i32 %i.0
store i32 %add, i32* %arrayidx2, align 4
@@ -49,9 +49,9 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%arrayidx = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmp = load i32* %arrayidx, align 4
+ %tmp = load i32, i32* %arrayidx, align 4
%arrayidxCopy = getelementptr inbounds i32, i32* %A, i32 %i.0
- %tmpCopy = load i32* %arrayidxCopy, align 4
+ %tmpCopy = load i32, i32* %arrayidxCopy, align 4
%add = add nsw i32 %tmp, %tmpCopy
%arrayidx2 = getelementptr inbounds i32, i32* %A, i32 %i.0
store i32 %add, i32* %arrayidx2, align 4
diff --git a/polly/test/ScopInfo/run-time-check-many-parameters.ll b/polly/test/ScopInfo/run-time-check-many-parameters.ll
index e12a17ff453..1dced6e5403 100644
--- a/polly/test/ScopInfo/run-time-check-many-parameters.ll
+++ b/polly/test/ScopInfo/run-time-check-many-parameters.ll
@@ -97,28 +97,28 @@ for.body: ; preds = %entry.split, %for.b
%tmp12 = add i64 %p12, %i.01
%arrayidx32 = getelementptr float, float* %B, i64 %tmp12
%arrayidx34 = getelementptr float, float* %A, i64 %i.01
- %tmp13 = load float* %arrayidx, align 4
- %tmp14 = load float* %arrayidx2, align 4
+ %tmp13 = load float, float* %arrayidx, align 4
+ %tmp14 = load float, float* %arrayidx2, align 4
%add3 = fadd float %tmp13, %tmp14
- %tmp15 = load float* %arrayidx5, align 4
+ %tmp15 = load float, float* %arrayidx5, align 4
%add6 = fadd float %add3, %tmp15
- %tmp16 = load float* %arrayidx8, align 4
+ %tmp16 = load float, float* %arrayidx8, align 4
%add9 = fadd float %add6, %tmp16
- %tmp17 = load float* %arrayidx11, align 4
+ %tmp17 = load float, float* %arrayidx11, align 4
%add12 = fadd float %add9, %tmp17
- %tmp18 = load float* %arrayidx14, align 4
+ %tmp18 = load float, float* %arrayidx14, align 4
%add15 = fadd float %add12, %tmp18
- %tmp19 = load float* %arrayidx17, align 4
+ %tmp19 = load float, float* %arrayidx17, align 4
%add18 = fadd float %add15, %tmp19
- %tmp20 = load float* %arrayidx20, align 4
+ %tmp20 = load float, float* %arrayidx20, align 4
%add21 = fadd float %add18, %tmp20
- %tmp21 = load float* %arrayidx23, align 4
+ %tmp21 = load float, float* %arrayidx23, align 4
%add24 = fadd float %add21, %tmp21
- %tmp22 = load float* %arrayidx26, align 4
+ %tmp22 = load float, float* %arrayidx26, align 4
%add27 = fadd float %add24, %tmp22
- %tmp23 = load float* %arrayidx29, align 4
+ %tmp23 = load float, float* %arrayidx29, align 4
%add30 = fadd float %add27, %tmp23
- %tmp24 = load float* %arrayidx32, align 4
+ %tmp24 = load float, float* %arrayidx32, align 4
%add33 = fadd float %add30, %tmp24
store float %add33, float* %arrayidx34, align 4
%tmp25 = add nsw i64 %i.01, 1
diff --git a/polly/test/ScopInfo/run-time-check-read-only-arrays.ll b/polly/test/ScopInfo/run-time-check-read-only-arrays.ll
index c44efe91f0f..7d8153c3c6a 100644
--- a/polly/test/ScopInfo/run-time-check-read-only-arrays.ll
+++ b/polly/test/ScopInfo/run-time-check-read-only-arrays.ll
@@ -20,8 +20,8 @@ for.body:
%arrayidx.A = getelementptr float, float* %A, i64 %indvar
%arrayidx.B = getelementptr float, float* %B, i64 %indvar
%arrayidx.C = getelementptr float, float* %C, i64 %indvar
- %val.A = load float* %arrayidx.A
- %val.B = load float* %arrayidx.B
+ %val.A = load float, float* %arrayidx.A
+ %val.B = load float, float* %arrayidx.B
%add = fadd float %val.A, %val.B
store float %add, float* %arrayidx.C
%indvar.next = add nsw i64 %indvar, 1
diff --git a/polly/test/ScopInfo/scalar.ll b/polly/test/ScopInfo/scalar.ll
index 021a5729ad6..4954b6100c2 100644
--- a/polly/test/ScopInfo/scalar.ll
+++ b/polly/test/ScopInfo/scalar.ll
@@ -13,7 +13,7 @@ for:
S1:
%scevgep1 = getelementptr i64, i64* %a, i64 %indvar
- %val = load i64* %scevgep1, align 8
+ %val = load i64, i64* %scevgep1, align 8
br label %S2
S2:
diff --git a/polly/test/ScopInfo/simple_nonaffine_loop_not.ll b/polly/test/ScopInfo/simple_nonaffine_loop_not.ll
index 30152d22756..388478ece53 100644
--- a/polly/test/ScopInfo/simple_nonaffine_loop_not.ll
+++ b/polly/test/ScopInfo/simple_nonaffine_loop_not.ll
@@ -29,7 +29,7 @@ for.end: ; preds = %for.body
%mul2 = shl nsw i32 %rem, 10
%idxprom3 = sext i32 %mul2 to i64
%arrayidx4 = getelementptr inbounds [1048576 x i32], [1048576 x i32]* %A, i64 0, i64 %idxprom3
- %2 = load i32* %arrayidx4, align 16
+ %2 = load i32, i32* %arrayidx4, align 16
%call5 = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([17 x i8]* @.str, i64 0, i64 0), i32 %2) nounwind
ret i32 0
}
diff --git a/polly/test/TempScop/inter_bb_scalar_dep.ll b/polly/test/TempScop/inter_bb_scalar_dep.ll
index f945661efcf..4f3710fbd84 100644
--- a/polly/test/TempScop/inter_bb_scalar_dep.ll
+++ b/polly/test/TempScop/inter_bb_scalar_dep.ll
@@ -26,7 +26,7 @@ for.i: ; preds = %for.i.end, %entry
br label %entry.next
entry.next: ; preds = %for.i
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
; CHECK: BB: entry.next
; CHECK: Read init_ptr[0]
; CHECK: Write init[0]
diff --git a/polly/test/TempScop/intra_and_inter_bb_scalar_dep.ll b/polly/test/TempScop/intra_and_inter_bb_scalar_dep.ll
index 90c4d98c3df..9c458ba07d6 100644
--- a/polly/test/TempScop/intra_and_inter_bb_scalar_dep.ll
+++ b/polly/test/TempScop/intra_and_inter_bb_scalar_dep.ll
@@ -27,7 +27,7 @@ for.i: ; preds = %for.i.end, %entry
br label %entry.next
entry.next: ; preds = %for.i
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
; CHECK: BB: entry.next
; CHECK: Read init_ptr[0]
; CHECK: Write init[0]
@@ -35,7 +35,7 @@ entry.next: ; preds = %for.i
for.j: ; preds = %for.j, %entry.next
%indvar.j = phi i64 [ 0, %entry.next ], [ %indvar.j.next, %for.j ]
- %init_2 = load i64* %init_ptr
+ %init_2 = load i64, i64* %init_ptr
%init_sum = add i64 %init, %init_2
; CHECK: BB: for.j
; CHECK: Read init[0]
diff --git a/polly/test/TempScop/intra_bb_scalar_dep.ll b/polly/test/TempScop/intra_bb_scalar_dep.ll
index 076b22078b7..9b7e261b8e7 100644
--- a/polly/test/TempScop/intra_bb_scalar_dep.ll
+++ b/polly/test/TempScop/intra_bb_scalar_dep.ll
@@ -30,7 +30,7 @@ entry.next: ; preds = %for.i
for.j: ; preds = %for.j, %entry.next
%indvar.j = phi i64 [ 0, %entry.next ], [ %indvar.j.next, %for.j ]
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
%init_plus_two = add i64 %init, 2
%scevgep = getelementptr i64, i64* %A, i64 %indvar.j
store i64 %init_plus_two, i64* %scevgep
diff --git a/polly/test/TempScop/not-a-reduction.ll b/polly/test/TempScop/not-a-reduction.ll
index 6005d54f3ed..33f0b015f36 100644
--- a/polly/test/TempScop/not-a-reduction.ll
+++ b/polly/test/TempScop/not-a-reduction.ll
@@ -34,8 +34,8 @@ bb3: ; preds = %bb7, %bb
br i1 %exitcond, label %bb4, label %bb8
bb4: ; preds = %bb3
- %tmp = load float* %scevgep2, align 4
- %tmp5 = load float* %scevgep1, align 4
+ %tmp = load float, float* %scevgep2, align 4
+ %tmp5 = load float, float* %scevgep1, align 4
%tmp6 = fmul float %tmp, %tmp5
store float %tmp6, float* %scevgep, align 4
br label %bb7
diff --git a/polly/test/TempScop/scalar_to_array.ll b/polly/test/TempScop/scalar_to_array.ll
index e292536ed41..8d9b587529f 100644
--- a/polly/test/TempScop/scalar_to_array.ll
+++ b/polly/test/TempScop/scalar_to_array.ll
@@ -75,7 +75,7 @@ for.cond: ; preds = %for.inc, %entry
for.body.a: ; preds = %for.cond
%arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar
- %scalar = load float* %arrayidx
+ %scalar = load float, float* %arrayidx
br label %for.body.b
; CHECK: BB: for.body.a
; CHECK: Read A[{0,+,4}<%for.cond>]
@@ -120,7 +120,7 @@ for.head: ; preds = %for.inc, %entry
for.body: ; preds = %for.head
%arrayidx = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar
- %scalar = load float* %arrayidx
+ %scalar = load float, float* %arrayidx
store float %scalar, float* %scalar.s2a
; Escaped uses are still required to be rewritten to stack variable.
; CHECK: BB: for.body
@@ -134,7 +134,7 @@ for.inc: ; preds = %for.body
br i1 %exitcond, label %for.head, label %for.after
for.after: ; preds = %for.inc
- %scalar.loadoutside = load float* %scalar.s2a
+ %scalar.loadoutside = load float, float* %scalar.s2a
fence seq_cst
%return_value = fptosi float %scalar.loadoutside to i32
br label %return
diff --git a/polly/test/TempScop/tempscop-printing.ll b/polly/test/TempScop/tempscop-printing.ll
index cd78b403355..1064ea4ae42 100644
--- a/polly/test/TempScop/tempscop-printing.ll
+++ b/polly/test/TempScop/tempscop-printing.ll
@@ -27,7 +27,7 @@ for.i:
entry.next:
; CHECK: BB: entry.next
; SCALARACCESS: BB: entry.next
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
; CHECK: Read init_ptr[0]
; CHECK: Write init.s2a[0]
; SCALARACCESS: Read init_ptr[0]
@@ -69,7 +69,7 @@ for.i:
entry.next:
; SCALARACCESS: BB: entry.next
- %init = load i64* %init_ptr
+ %init = load i64, i64* %init_ptr
; SCALARACCESS: Read init_ptr[0]
; SCALARACCESS: Write init[0]
br label %for.j
OpenPOWER on IntegriCloud