summaryrefslogtreecommitdiff
path: root/polly/test/Simplify/sweep_mapped_phi.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/Simplify/sweep_mapped_phi.ll')
-rw-r--r--polly/test/Simplify/sweep_mapped_phi.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/test/Simplify/sweep_mapped_phi.ll b/polly/test/Simplify/sweep_mapped_phi.ll
index cb54bba54b96..add1681cdf36 100644
--- a/polly/test/Simplify/sweep_mapped_phi.ll
+++ b/polly/test/Simplify/sweep_mapped_phi.ll
@@ -12,7 +12,7 @@
; }
;
-define void @sweep_mapped_phi(i32 %n, double* noalias nonnull %A, double* noalias nonnull %B) {
+define void @sweep_mapped_phi(i32 %n, ptr noalias nonnull %A, ptr noalias nonnull %B) {
entry:
br label %for
@@ -23,14 +23,14 @@ for:
bodyA:
%val = fadd double 21.0, 21.0
- %A_idx = getelementptr inbounds double, double* %A, i32 %j
- store double %val, double* %A_idx
+ %A_idx = getelementptr inbounds double, ptr %A, i32 %j
+ store double %val, ptr %A_idx
br label %bodyB
bodyB:
%phi = phi double [%val, %bodyA]
- %B_idx = getelementptr inbounds double, double* %B, i32 %j
- store double %phi, double* %B_idx
+ %B_idx = getelementptr inbounds double, ptr %B, i32 %j
+ store double %phi, ptr %B_idx
br label %inc
inc: