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.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Fix error No callback manager available on powerpc64le-unknown-linux-gnu with eccd7ae2fdb3
This breaks tests on windows: http://45.33.8.238/win/35564/step_11.txt
Please take a look, and revert for now if it takes a while to fix.
It has actually taken down most of the PPC bots. Can we get it reverted and we can try to do what we can to help investigate the failures on PowerPC machines?
I think 5949bd91253672ea8599a7a234b18e78972d3aa1 will fix the PowerPC bots
These have all in common a strange exit code 3221225477 but otherwise don't provide any details. There is one more here: https://lab.llvm.org/buildbot#builders/123/builds/3554
Ok at first it introduced some more trouble by breaking unit tests that expected an error coming out of this function. Reverted that too. So, everything should be back to default for now.
Don't apply lazy-MCJIT tests to the default (greedy) mode for Orc. They probably work well with OrcLazy, but that's a different story.