repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation tests. NFC
[llvm-core.git]
/
test
/
ExecutionEngine
/
mov64zext32.ll
blob
a5b246170cf0a4dbc38f7d3569f11e254db0eef7
1
; RUN: %lli %s > /dev/null
2
3
define i64 @foo() {
4
ret i64 42
5
}
6
7
define i32 @main() {
8
%val = call i64 @foo()
9
%is42 = icmp eq i64 %val, 42
10
br i1 %is42, label %good, label %bad
11
12
good:
13
ret i32 0
14
15
bad:
16
ret i32 1
17
}