repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In some rare cases, the register allocator can spill registers but end up not utilizi...
[llvm/msp430.git]
/
test
/
Transforms
/
SCCP
/
apint-phi.ll
blob
77f6bc869266ef2f9882fe729e18d2cb636deb9e
1
; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep phi
2
3
define i999 @test(i999%A, i1 %c) {
4
bb1:
5
br label %BB2
6
BB2:
7
%V = phi i999 [2, %bb1], [%A, %BB4]
8
br label %BB3
9
10
BB3:
11
%E = trunc i999 %V to i1
12
%F = and i1 %E, %c
13
br i1 %F, label %BB4, label %BB5
14
BB4:
15
br label %BB2
16
17
BB5:
18
ret i999 %V
19
}