[PATCH] D122543: add ORC lazy jit support for riscv64
Alex Fan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 27 05:53:00 PDT 2022
alexfanqi created this revision.
Herald added subscribers: s, VincentWu, luke957, vkmr, evandro, sameer.abuasal, s.egerton, Jim, benna, psnobl, PkmX, rogfer01, kito-cheng, simoncook, hiraditya, arichardson.
Herald added a project: All.
alexfanqi requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122543
Files:
llvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h
llvm/lib/ExecutionEngine/Orc/EPCIndirectionUtils.cpp
llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
llvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122543.418445.patch
Type: text/x-patch
Size: 11870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220327/41ad0dc1/attachment.bin>
More information about the llvm-commits
mailing list