projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix typo in alias: DSIR -> DSISR
[oota-llvm.git]
/
test
/
ExecutionEngine
/
test-ret.ll
1
; RUN: %lli %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
}