Files
clang-p2996/llvm/test/ExecutionEngine/OrcLazy/single-function-call.ll
Zarko Todorovski 7f7dac7126 [NFC][llvm] Inclusive language: reword uses of sanity test and check
Part of continuing work to use more inclusive language. Reworded uses
of sanity check and sanity test in llvm/test/
2021-11-25 07:21:42 -05:00

16 lines
335 B
LLVM

; RUN: lli -jit-kind=orc-lazy %s
;
; Basic correctness check: We can make a call inside lazily JIT'd code.
; Compared to minimal.ll, this demonstrates that we can call through a stub.
define i32 @foo() {
entry:
ret i32 0
}
define i32 @main(i32 %argc, i8** nocapture readnone %argv) {
entry:
%0 = call i32() @foo()
ret i32 %0
}