blob: 58fa91f4b9a5aa4e2ea436b7a6e2ccec61105238 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt -loop-unroll %s -S | FileCheck %s
declare zeroext i8 @patatino()
define fastcc void @tinky() {
; CHECK-LABEL: @tinky(
; CHECK-NEXT: entry:
; CHECK-NEXT: br label [[FOR_COND93:%.*]]
; CHECK: for.cond93:
; CHECK-NEXT: br label [[FOR_BODY198:%.*]]
; CHECK: for.body198:
; CHECK-NEXT: [[CALL593:%.*]] = tail call zeroext i8 @patatino()
; CHECK-NEXT: ret void
;
entry:
br label %for.cond93
for.cond93.loopexit:
ret void
for.cond93:
br label %for.body198
for.body198:
%l_249.12 = phi i8 [ undef, %for.cond93 ], [ %call593, %for.body198 ]
%l_522.01 = phi i32 [ 0, %for.cond93 ], [ 1, %for.body198 ]
%call593 = tail call zeroext i8 @patatino()
br i1 false, label %for.body198, label %for.cond93.loopexit
}
|