llvm-6502/test/Transforms/TailDup/basictest2.ll
2006-12-02 04:23:10 +00:00

18 lines
344 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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
}