repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git]
/
test
/
ExecutionEngine
/
2003-01-04-PhiTest.ll
blob
2bc70d749f504f723284cddb304234606c2f25c6
1
; RUN: lli %s > /dev/null
2
3
define i32 @main() {
4
; <label>:0
5
br label %Loop
6
Loop: ; preds = %Loop, %0
7
%X = phi i32 [ 0, %0 ], [ 1, %Loop ] ; <i32> [#uses=1]
8
br i1 true, label %Out, label %Loop
9
Out: ; preds = %Loop
10
ret i32 %X
11
}
12