summaryrefslogtreecommitdiff
path: root/polly/test/CodeGen/simple_vec_assign_scalar.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/CodeGen/simple_vec_assign_scalar.ll')
-rw-r--r--polly/test/CodeGen/simple_vec_assign_scalar.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/polly/test/CodeGen/simple_vec_assign_scalar.ll b/polly/test/CodeGen/simple_vec_assign_scalar.ll
index 6def8f137e74..ae8a75257ac6 100644
--- a/polly/test/CodeGen/simple_vec_assign_scalar.ll
+++ b/polly/test/CodeGen/simple_vec_assign_scalar.ll
@@ -30,15 +30,15 @@ bb:
bb2: ; preds = %bb5, %bb
%indvar = phi i64 [ %indvar.next, %bb5 ], [ 0, %bb ]
- %scevgep = getelementptr [1024 x float], [1024 x float]* @B, i64 0, i64 %indvar
- %scevgep1 = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar
+ %scevgep = getelementptr [1024 x float], ptr @B, i64 0, i64 %indvar
+ %scevgep1 = getelementptr [1024 x float], ptr @A, i64 0, i64 %indvar
%exitcond = icmp ne i64 %indvar, 4
br i1 %exitcond, label %bb3, label %bb6
bb3: ; preds = %bb2
- %tmp = load float, float* %scevgep1, align 4
+ %tmp = load float, ptr %scevgep1, align 4
%tmp4 = fadd float %tmp, 1.000000e+00
- store float %tmp4, float* %scevgep, align 4
+ store float %tmp4, ptr %scevgep, align 4
br label %bb5
bb5: ; preds = %bb3
@@ -52,13 +52,13 @@ bb6: ; preds = %bb2
define i32 @main() nounwind {
bb:
call void @simple_vec_const()
- %tmp = load float, float* getelementptr inbounds ([1024 x float], [1024 x float]* @A, i64 0, i64 42), align 8
+ %tmp = load float, ptr getelementptr inbounds ([1024 x float], ptr @A, i64 0, i64 42), align 8
%tmp1 = fptosi float %tmp to i32
ret i32 %tmp1
}
; STRIPMINE-NOT: <4 x float>
-; 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 !3
+; CHECK: %tmp_p_vec_full = load <4 x float>, ptr @A, align 8, !alias.scope !0, !noalias !3
; 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>*)
+; CHECK: store <4 x float> %tmp4p_vec, ptr @B