diff polly/test/ScopInfo/reduction_simple_fp.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/reduction_simple_fp.ll	Wed Nov 09 17:47:54 2022 +0900
+++ b/polly/test/ScopInfo/reduction_simple_fp.ll	Fri Aug 18 09:04:13 2023 +0900
@@ -11,7 +11,7 @@
 ; }
 target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64"
 
-define void @f_no_fast_math(float* %sum) {
+define void @f_no_fast_math(ptr %sum) {
 entry:
   br label %for.cond
 
@@ -24,9 +24,9 @@
   %conv = sitofp i32 %i.0 to float
   %pi = fptrunc double 3.41 to float
   %mul = fmul float %conv, %pi
-  %tmp = load float, float* %sum, align 4
+  %tmp = load float, ptr %sum, align 4
   %add = fadd float %tmp, %mul
-  store float %add, float* %sum, align 4
+  store float %add, ptr %sum, align 4
   br label %for.inc
 
 for.inc:                                          ; preds = %for.body
@@ -37,7 +37,7 @@
   ret void
 }
 
-define void @f_fast_math(float* %sum) {
+define void @f_fast_math(ptr %sum) {
 entry:
   br label %for.cond
 
@@ -50,9 +50,9 @@
   %conv = sitofp i32 %i.0 to float
   %pi = fptrunc double 3.41 to float
   %mul = fmul fast float %conv, %pi
-  %tmp = load float, float* %sum, align 4
+  %tmp = load float, ptr %sum, align 4
   %add = fadd fast float %tmp, %mul
-  store float %add, float* %sum, align 4
+  store float %add, ptr %sum, align 4
   br label %for.inc
 
 for.inc:                                          ; preds = %for.body