projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make sure this doesn't break when we're improving the isels
[oota-llvm.git]
/
test
/
Transforms
/
LICM
/
basictest.ll
1
; RUN: llvm-as < %s | opt -licm | llvm-dis
2
3
void "testfunc"(int %i) {
4
5
br label %Loop
6
7
Loop:
8
%j = phi uint [0, %0], [%Next, %Loop]
9
%i = cast int %i to uint
10
%i2 = mul uint %i, 17
11
%Next = add uint %j, %i2
12
%cond = seteq uint %Next, 0
13
br bool %cond, label %Out, label %Loop
14
15
Out:
16
ret void
17
}