[all-commits] [llvm/llvm-project] ea76b2: [XRay][RISCV] RISCV support for XRay (#117368)

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Tue Dec 10 17:57:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea76b2d8d83d6885bf5707832cbc4b7655e21b08
      https://github.com/llvm/llvm-project/commit/ea76b2d8d83d6885bf5707832cbc4b7655e21b08
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M clang/lib/Driver/XRayArgs.cpp
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
    M compiler-rt/lib/xray/CMakeLists.txt
    M compiler-rt/lib/xray/xray_interface.cpp
    A compiler-rt/lib/xray/xray_riscv.cpp
    A compiler-rt/lib/xray/xray_trampoline_riscv32.S
    A compiler-rt/lib/xray/xray_trampoline_riscv64.S
    A compiler-rt/lib/xray/xray_trampoline_riscv_common.S
    M compiler-rt/lib/xray/xray_tsc.h
    M llvm/lib/CodeGen/XRayInstrumentation.cpp
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/lib/XRay/InstrumentationMap.cpp
    A llvm/test/CodeGen/RISCV/xray-attribute-instrumentation.ll

  Log Message:
  -----------
  [XRay][RISCV] RISCV support for XRay (#117368)

Add RISC-V support for XRay. The RV64 implementation has been tested in
both QEMU and in our hardware environment.

Currently this requires D and C extensions, but since both RV64GC and
RVA22/RVA23 are becoming mainstream, I don't think this requirement will
be a big problem.

Based on the previous work by @a-poduval :
https://reviews.llvm.org/D117929

---------

Co-authored-by: Ashwin Poduval <ashwin.poduval at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list