diff polly/test/ScopInfo/exit_phi_accesses-2.ll @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents c4bab56944e8
children
line wrap: on
line diff
--- a/polly/test/ScopInfo/exit_phi_accesses-2.ll	Wed Nov 09 17:47:54 2022 +0900
+++ b/polly/test/ScopInfo/exit_phi_accesses-2.ll	Fri Aug 18 09:04:13 2023 +0900
@@ -20,7 +20,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
 
@@ -31,10 +31,10 @@
 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
   %scalar = fadd float 0.0, 0.0
   %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