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
[FastISel] Support unreachable with NoTrapAfterNoReturn (#118296)
[llvm-project.git]
/
llvm
/
test
/
ExecutionEngine
/
mov64zext32.ll
blob
43bd0fb2f7b43ed428e2b2133565de678ea6929b
1
; LoongArch does not support mcjit.
2
; UNSUPPORTED: target=loongarch{{.*}}
3
4
; RUN: %lli -jit-kind=mcjit %s > /dev/null
5
; RUN: %lli %s > /dev/null
6
7
define i64 @foo() {
8
ret i64 42
9
}
10
11
define i32 @main() {
12
%val = call i64 @foo()
13
%is42 = icmp eq i64 %val, 42
14
br i1 %is42, label %good, label %bad
15
16
good:
17
ret i32 0
18
19
bad:
20
ret i32 1
21
}