[PATCH] D140827: [JITLink][RISCV] Add R_RISCV_RVC_BRANCH and R_RISCV_RVC_JUMP

Jonas Hahnfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 1 14:09:42 PST 2023


Hahnfeld created this revision.
Hahnfeld added a reviewer: StephenFan.
Herald added subscribers: sunshaoce, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
Hahnfeld requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.

These are the compressed equivalents of the relocations `R_RISCV_BRANCH`
and `R_RISCV_JAL` with slightly more complex immediate handling.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140827

Files:
  llvm/include/llvm/ExecutionEngine/JITLink/riscv.h
  llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
  llvm/lib/ExecutionEngine/JITLink/riscv.cpp
  llvm/test/ExecutionEngine/JITLink/RISCV/ELF_rvc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140827.485822.patch
Type: text/x-patch
Size: 5498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230101/54dfe7a6/attachment.bin>


More information about the llvm-commits mailing list