repo.or.cz
/
llvm-complete.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 patterns
[llvm-complete.git]
/
test
/
ExecutionEngine
/
OrcMCJIT
/
test-ret.ll
blob
000bea02e97c80fe3d05e277f313a4822e12cc85
1
; RUN: %lli -jit-kind=orc-mcjit %s > /dev/null
2
3
; test return instructions
4
define void @test1() {
5
ret void
6
}
7
8
define i8 @test2() {
9
ret i8 1
10
}
11
12
define i8 @test3() {
13
ret i8 1
14
}
15
16
define i16 @test4() {
17
ret i16 -1
18
}
19
20
define i16 @test5() {
21
ret i16 -1
22
}
23
24
define i32 @main() {
25
ret i32 0
26
}
27
28
define i32 @test6() {
29
ret i32 4
30
}
31
32
define i64 @test7() {
33
ret i64 0
34
}
35
36
define i64 @test8() {
37
ret i64 0
38
}
39
40
define float @test9() {
41
ret float 1.000000e+00
42
}
43
44
define double @test10() {
45
ret double 2.000000e+00
46
}