summaryrefslogtreecommitdiff
path: root/polly/test/CodeGen/simple_vec_assign_scalar_2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/CodeGen/simple_vec_assign_scalar_2.ll')
-rw-r--r--polly/test/CodeGen/simple_vec_assign_scalar_2.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/test/CodeGen/simple_vec_assign_scalar_2.ll b/polly/test/CodeGen/simple_vec_assign_scalar_2.ll
index 6e957da789ff..f26720f95df3 100644
--- a/polly/test/CodeGen/simple_vec_assign_scalar_2.ll
+++ b/polly/test/CodeGen/simple_vec_assign_scalar_2.ll
@@ -27,17 +27,17 @@ bb:
bb2: ; preds = %bb6, %bb
%indvar = phi i64 [ %indvar.next, %bb6 ], [ 0, %bb ]
- %scevgep = getelementptr [1024 x float], [1024 x float]* @B, i64 0, i64 %indvar
+ %scevgep = getelementptr [1024 x float], ptr @B, i64 0, i64 %indvar
%i.0 = trunc i64 %indvar to i32
- %scevgep1 = getelementptr [1024 x float], [1024 x float]* @A, 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 %bb7
bb3: ; preds = %bb2
- %tmp = load float, float* %scevgep1, align 4
+ %tmp = load float, ptr %scevgep1, align 4
%tmp4 = sitofp i32 %i.0 to float
%tmp5 = fadd float %tmp, %tmp4
- store float %tmp5, float* %scevgep, align 4
+ store float %tmp5, ptr %scevgep, align 4
br label %bb6
bb6: ; preds = %bb3
@@ -51,7 +51,7 @@ bb7: ; 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
}