summaryrefslogtreecommitdiff
path: root/polly/test/ScopInfo/reduction_simple_fp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/reduction_simple_fp.ll')
-rw-r--r--polly/test/ScopInfo/reduction_simple_fp.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/polly/test/ScopInfo/reduction_simple_fp.ll b/polly/test/ScopInfo/reduction_simple_fp.ll
index 5956359cba1b..ba0a034a17e3 100644
--- a/polly/test/ScopInfo/reduction_simple_fp.ll
+++ b/polly/test/ScopInfo/reduction_simple_fp.ll
@@ -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 @@ for.body: ; preds = %for.cond
%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 @@ for.end: ; preds = %for.cond
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 @@ for.body: ; preds = %for.cond
%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