[all-commits] [llvm/llvm-project] eaee4f: [lli] Make -jit-kind=orc the default JIT engine

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Tue Mar 23 02:23:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaee4f269645094f03f3aaff6b365176d63ab3e8
      https://github.com/llvm/llvm-project/commit/eaee4f269645094f03f3aaff6b365176d63ab3e8
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M llvm/test/CodeGen/Generic/bswap.ll
    M llvm/test/ExecutionEngine/2010-01-15-UndefValue.ll
    M llvm/test/ExecutionEngine/Interpreter/alias.ll
    M llvm/test/ExecutionEngine/Interpreter/call-no-args.ll
    M llvm/test/ExecutionEngine/Interpreter/intrinsics.ll
    M llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-01-09-SARTest.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-01-10-FUCOM.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-01-15-AlignmentTest.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-05-06-LivenessClobber.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-05-07-ArgumentTest.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-06-04-bzip2-bug.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-06-05-PHIBug.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-08-21-EnvironmentTest.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-08-23-RegisterAllocatePhysReg.ll
    M llvm/test/ExecutionEngine/MCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll
    M llvm/test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll
    M llvm/test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.ll
    M llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll
    M llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll
    M llvm/test/ExecutionEngine/MCJIT/cross-module-a.ll
    M llvm/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
    M llvm/test/ExecutionEngine/MCJIT/eh-lg-pic.ll
    M llvm/test/ExecutionEngine/MCJIT/eh.ll
    M llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll
    M llvm/test/ExecutionEngine/MCJIT/hello.ll
    M llvm/test/ExecutionEngine/MCJIT/hello2.ll
    M llvm/test/ExecutionEngine/MCJIT/load-object-a.ll
    M llvm/test/ExecutionEngine/MCJIT/multi-module-a.ll
    M llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll
    M llvm/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
    M llvm/test/ExecutionEngine/MCJIT/non-extern-addend.ll
    M llvm/test/ExecutionEngine/MCJIT/pr13727.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/eh.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll
    M llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll
    M llvm/test/ExecutionEngine/MCJIT/simplesttest.ll
    M llvm/test/ExecutionEngine/MCJIT/simpletest.ll
    M llvm/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll
    M llvm/test/ExecutionEngine/MCJIT/stubs.ll
    M llvm/test/ExecutionEngine/MCJIT/test-arith.ll
    M llvm/test/ExecutionEngine/MCJIT/test-branch.ll
    M llvm/test/ExecutionEngine/MCJIT/test-call-no-external-funcs.ll
    M llvm/test/ExecutionEngine/MCJIT/test-call.ll
    M llvm/test/ExecutionEngine/MCJIT/test-cast.ll
    M llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll
    M llvm/test/ExecutionEngine/MCJIT/test-common-symbols.ll
    M llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll
    M llvm/test/ExecutionEngine/MCJIT/test-data-align.ll
    M llvm/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs.ll
    M llvm/test/ExecutionEngine/MCJIT/test-fp.ll
    M llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll
    M llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
    M llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll
    M llvm/test/ExecutionEngine/MCJIT/test-global.ll
    M llvm/test/ExecutionEngine/MCJIT/test-loadstore.ll
    M llvm/test/ExecutionEngine/MCJIT/test-local.ll
    M llvm/test/ExecutionEngine/MCJIT/test-logical.ll
    M llvm/test/ExecutionEngine/MCJIT/test-loop.ll
    M llvm/test/ExecutionEngine/MCJIT/test-phi.ll
    M llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
    M llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc.ll
    M llvm/test/ExecutionEngine/MCJIT/test-ret.ll
    M llvm/test/ExecutionEngine/MCJIT/test-return.ll
    M llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll
    M llvm/test/ExecutionEngine/MCJIT/test-setcond-int.ll
    M llvm/test/ExecutionEngine/MCJIT/test-shift.ll
    M llvm/test/ExecutionEngine/MCJIT/weak-function.ll
    M llvm/test/ExecutionEngine/fma3-jit.ll
    M llvm/test/ExecutionEngine/frem.ll
    M llvm/test/ExecutionEngine/mov64zext32.ll
    M llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll
    M llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll
    M llvm/test/ExecutionEngine/test-interp-vec-cast.ll
    M llvm/test/ExecutionEngine/test-interp-vec-insertelement.ll
    M llvm/test/ExecutionEngine/test-interp-vec-insertextractvalue.ll
    M llvm/test/ExecutionEngine/test-interp-vec-loadstore.ll
    M llvm/test/ExecutionEngine/test-interp-vec-logical.ll
    M llvm/test/ExecutionEngine/test-interp-vec-select.ll
    M llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll
    M llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll
    M llvm/test/ExecutionEngine/test-interp-vec-shift.ll
    M llvm/test/ExecutionEngine/test-interp-vec-shuffle.ll
    M llvm/test/Integer/2007-01-19-TruncSext.ll
    M llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll
    M llvm/tools/lli/lli.cpp

  Log Message:
  -----------
  [lli] Make -jit-kind=orc the default JIT engine

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




More information about the All-commits mailing list