Skip to content

Commit 0e64dda

Browse files
committed
Another simple testcase
llvm-svn: 12455
1 parent d962dd5 commit 0e64dda

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
; RUN: llvm-as < %s | opt -tailduplicate -disable-output
2+
3+
void %ab() {
4+
entry:
5+
br label %loopentry.5
6+
7+
loopentry.5:
8+
%poscnt.1 = phi long [ 0, %entry ], [ %tmp.289, %no_exit.5 ]
9+
%tmp.289 = shr long %poscnt.1, ubyte 1
10+
br bool false, label %no_exit.5, label %loopexit.5
11+
12+
no_exit.5:
13+
br label %loopentry.5
14+
15+
loopexit.5:
16+
ret void
17+
}

0 commit comments

Comments
 (0)