This patch adds stackmap support for RISC-V with call targets.
Depends on D123496
Paths
| Differential D129848
[RISCV] Add Stackmap/Statepoint/Patchpoint support with targets Needs ReviewPublic Authored by Zeavee on Jul 15 2022, 5:08 AM.
Details
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, • pcwang-thead, eopXD, MaskRay. · View Herald TranscriptJul 15 2022, 5:08 AM Comment Actions Update tests that do not check data directive using update_llc_test_checks.py. Avoid RISC-V fixups for StkMapRecord Instruction Offset as they them to be 0.
Comment Actions Remove useless test and refactor generateInstSeq by adding generateMCInstSeq to avoid code duplication between PseudoLI and Stackmap. Comment Actions Rebased the patch on main. For context, this patch has been used by the LLVM backend of GraalVM's Native Image project in production for around 4 months with no major issues. Comment Actions Hello, now that D123496 has been merged, would it be possible to have a new review on this patch?
Revision Contents
Diff 446866 llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.h
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/test/CodeGen/RISCV/rv64-patchpoint.ll
|
This seems extremely dubious