[all-commits] [llvm/llvm-project] acb408: [ORC] add lazy jit support for riscv64

Alex Fan via All-commits all-commits at lists.llvm.org
Sun Apr 10 03:45:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: acb408fbbc9d77b75c8ed2f36805f59e6a640e2b
      https://github.com/llvm/llvm-project/commit/acb408fbbc9d77b75c8ed2f36805f59e6a640e2b
  Author: Alex Fan <alex.fan.q at gmail.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h
    M llvm/lib/ExecutionEngine/Orc/EPCIndirectionUtils.cpp
    M llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
    M llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
    M llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp

  Log Message:
  -----------
  [ORC] add lazy jit support for riscv64

This adds resolver, indirection and trampoline stubs for riscv64,
allowing lazy compilation to work.

It assumes hard float extension exists. I don't know the proper way to detect it as Triple doesn't provide the interface to check riscv +f +d abi.

I am also not sure if orclazy tests should be enabled because lli needs an additional -codemodel=melany for tests to pass.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D122543




More information about the All-commits mailing list