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
[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git]
/
test
/
ExecutionEngine
/
OrcMCJIT
/
test-call-no-external-funcs.ll
blob
78c6a1bb2f9f93b2a8191b991dd59e1b0104fc98
1
; RUN: %lli -jit-kind=orc-mcjit %s > /dev/null
2
3
define i32 @_Z14func_exit_codev() nounwind uwtable {
4
entry:
5
ret i32 0
6
}
7
8
define i32 @main() nounwind uwtable {
9
entry:
10
%retval = alloca i32, align 4
11
store i32 0, i32* %retval
12
%call = call i32 @_Z14func_exit_codev()
13
ret i32 %call
14
}