[all-commits] [llvm/llvm-project] c8d43d: [JITLink][RISCV] Add R_RISCV_RVC_BRANCH and R_RISC...

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Wed Jan 4 04:52:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8d43dca2332623f138d118c62176e93711f06e0
      https://github.com/llvm/llvm-project/commit/c8d43dca2332623f138d118c62176e93711f06e0
  Author: Jonas Hahnfeld <hahnjo at hahnjo.de>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/riscv.h
    M llvm/lib/ExecutionEngine/JITLink/ELF_riscv.cpp
    M llvm/lib/ExecutionEngine/JITLink/riscv.cpp
    A llvm/test/ExecutionEngine/JITLink/RISCV/ELF_rvc.s

  Log Message:
  -----------
  [JITLink][RISCV] Add R_RISCV_RVC_BRANCH and R_RISCV_RVC_JUMP

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

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




More information about the All-commits mailing list