summaryrefslogtreecommitdiff
path: root/polly/test/Simplify/exit_phi_accesses-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/Simplify/exit_phi_accesses-2.ll')
-rw-r--r--polly/test/Simplify/exit_phi_accesses-2.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/polly/test/Simplify/exit_phi_accesses-2.ll b/polly/test/Simplify/exit_phi_accesses-2.ll
index b9874eb13e3a..01748aa59bd3 100644
--- a/polly/test/Simplify/exit_phi_accesses-2.ll
+++ b/polly/test/Simplify/exit_phi_accesses-2.ll
@@ -5,7 +5,7 @@
;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define float @foo(float* %A) {
+define float @foo(ptr %A) {
entry:
br label %header
@@ -16,9 +16,9 @@ header:
body:
%i = phi i64 [ 0, %header ], [ %next, %body ]
%sum = phi float [ 0.0, %header ], [ %sum.next, %body ]
- %arrayidx = getelementptr float, float* %A, i64 %i
+ %arrayidx = getelementptr float, ptr %A, i64 %i
%next = add nuw nsw i64 %i, 1
- %val = load float, float* %arrayidx
+ %val = load float, ptr %arrayidx
%sum.next = fadd float %sum, %val
%cond = icmp ne i64 %i, 100
br i1 %cond, label %body, label %after