mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Another simple testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12455 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
54cc3c2135
commit
df22f9c41b
17
test/Transforms/TailDup/basictest2.ll
Normal file
17
test/Transforms/TailDup/basictest2.ll
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
; 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user