[all-commits] [llvm/llvm-project] 058d96: [RISCV] Support PreserveMost calling convention (#...

Pengcheng Wang via All-commits all-commits at lists.llvm.org
Wed Jul 30 01:31:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 058d96f2d68d3496ae52774c06177d4a9039a134
      https://github.com/llvm/llvm-project/commit/058d96f2d68d3496ae52774c06177d4a9039a134
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/Target/RISCV/RISCVCallingConv.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
    A llvm/test/CodeGen/RISCV/calling-conv-preserve-most.ll

  Log Message:
  -----------
  [RISCV] Support PreserveMost calling convention (#148214)


This adds the simplest implementation of `PreserveMost` calling
convention and we preserve `x5-x31` (except x6/x7/x28) registers.

Fixes #148147.



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