repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
ExecutionEngine
/
mov64zext32.ll
blob
bba1a1987350ab4e39a134ee89e4916a4e5c1e46
1
; RUN: %lli -jit-kind=mcjit %s > /dev/null
2
; RUN: %lli %s > /dev/null
3
4
define i64 @foo() {
5
ret i64 42
6
}
7
8
define i32 @main() {
9
%val = call i64 @foo()
10
%is42 = icmp eq i64 %val, 42
11
br i1 %is42, label %good, label %bad
12
13
good:
14
ret i32 0
15
16
bad:
17
ret i32 1
18
}