1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/TailDup/basictest2.ll
Chris Lattner 88f460ad63 Another simple testcase
llvm-svn: 12455
2004-03-16 23:07:52 +00:00

18 lines
329 B
LLVM

; RUN: llvm-as < %s | opt -tailduplicate -disable-output
void %ab() {
entry:
br label %loopentry.5
loopentry.5:
%poscnt.1 = phi long [ 0, %entry ], [ %tmp.289, %no_exit.5 ]
%tmp.289 = shr long %poscnt.1, ubyte 1
br bool false, label %no_exit.5, label %loopexit.5
no_exit.5:
br label %loopentry.5
loopexit.5:
ret void
}