[llvm-dev] Change lli default JIT engine to Orc
Stefan Gränitz via llvm-dev
llvm-dev at lists.llvm.org
Fri Mar 19 03:06:40 PDT 2021
Hi all
In review https://reviews.llvm.org/D98931 I am proposing to change lli's
default JIT engine to Orc. The main intention here is to get people to
realize that MCJIT is poorly maintained and that it might be
inappropriate for use with new code and tests. In fact, last week the
MLIR subproject added some new tests that use lli with MCJIT. I guess
this was unintentional; the reviews at least don't seem to discuss the
JIT engine.
Common JIT tasks are expected to work with Orc just like they did with
MCJIT. All such tests run against both engines now:
https://reviews.llvm.org/D98931?id=331802
There is a number of tests that require MCJIT-specific behavior (e.g.
interpreter mode). These were patched to explicitly pass -jit-kind=mcjit
now:
https://reviews.llvm.org/D98931?vs=331802&id=331803
While I think this change is overdue, there is no rush to land it. I am
happy to discuss details in case you have any concerns.
Cheers
Stefan
--
https://flowcrypt.com/pub/stefan.graenitz@gmail.com
More information about the llvm-dev
mailing list