MCJIT served well as the default JIT engine in lli for a long time, but the code is getting old and maintenance efforts don't seem to be in sight. In the meantime Orc became mature enough to fill that gap. The newly added greddy mode is very similar to the execution model of MCJIT. It should work as a drop-in replacement for common JIT tasks. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D98931
13 lines
495 B
LLVM
13 lines
495 B
LLVM
; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
|
|
; XFAIL: windows-gnu,windows-msvc
|
|
; UNSUPPORTED: powerpc64-unknown-linux-gnu
|
|
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed
|
|
|
|
declare i32 @FB()
|
|
|
|
define i32 @main() nounwind {
|
|
%r = call i32 @FB( ) ; <i32> [#uses=1]
|
|
ret i32 %r
|
|
}
|
|
|