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
AMDGPU: Allow f16/bf16 for DS_READ_TR16_B64 gfx950 builtins (#118297)
[llvm-project.git]
/
llvm
/
test
/
ExecutionEngine
/
OrcLazy
/
basic-object-file-loading.ll
blob
421ff537afeb1ed4b470cba02ec8fc30c1f7eb9d
1
; RUN: llc -filetype=obj -o %t %p/Inputs/foo-return-i32-0.ll
2
; RUN: lli -jit-kind=orc-lazy -extra-object %t %s
3
;
4
; Check that we can load an object file and call a function in it.
5
6
declare i32 @foo()
7
8
define i32 @main(i32 %argc, ptr %argv) {
9
entry:
10
%0 = call i32 @foo()
11
ret i32 %0
12
}
13