summaryrefslogtreecommitdiff
path: root/polly/test/CodeGen/phi_after_error_block_outside_of_scop.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/CodeGen/phi_after_error_block_outside_of_scop.ll')
-rw-r--r--polly/test/CodeGen/phi_after_error_block_outside_of_scop.ll15
1 files changed, 7 insertions, 8 deletions
diff --git a/polly/test/CodeGen/phi_after_error_block_outside_of_scop.ll b/polly/test/CodeGen/phi_after_error_block_outside_of_scop.ll
index fd198eddd8de..c34ebfc3ca02 100644
--- a/polly/test/CodeGen/phi_after_error_block_outside_of_scop.ll
+++ b/polly/test/CodeGen/phi_after_error_block_outside_of_scop.ll
@@ -4,9 +4,9 @@
; outside of the scope. In this situation, we should not affect code generation.
; CHECK: polly.cond:
-; CHECK-NEXT: ptrtoint float* %tmp8 to i64
+; CHECK-NEXT: ptrtoint ptr %tmp8 to i64
; CHECK-NEXT: icmp sle i64
-; CHECK-NEXT: ptrtoint float* %tmp8 to i64
+; CHECK-NEXT: ptrtoint ptr %tmp8 to i64
; CHECK-NEXT: icmp sge i64
; CHECK-NEXT: or i1
; CHECK-NEXT: label %polly.then, label %polly.else
@@ -23,8 +23,7 @@ bb1:
br i1 undef, label %bb5, label %bb2
bb2:
- %tmp = call i8* @pluto()
- %tmp4 = bitcast i8* %tmp to float*
+ %tmp = call ptr @pluto()
br label %bb6
bb5:
@@ -35,19 +34,19 @@ bb6:
br label %bb7
bb7:
- %tmp8 = phi float* [ %tmp4, %bb6 ], [ null, %bb5 ]
+ %tmp8 = phi ptr [ %tmp, %bb6 ], [ null, %bb5 ]
br label %bb9
bb9:
- %tmp10 = icmp eq float* %tmp8, null
+ %tmp10 = icmp eq ptr %tmp8, null
br i1 %tmp10, label %bb12, label %bb11
bb11:
br label %bb12
bb12:
- %tmp13 = phi float* [ undef, %bb9 ], [ undef, %bb11 ]
+ %tmp13 = phi ptr [ undef, %bb9 ], [ undef, %bb11 ]
ret void
}
-declare i8* @pluto()
+declare ptr @pluto()