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

Pengcheng Wang via All-commits all-commits at lists.llvm.org
Mon Sep 22 17:05:03 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: ff039a98523f0de0317ffcb7200b27b6bd83c108
      https://github.com/llvm/llvm-project/commit/ff039a98523f0de0317ffcb7200b27b6bd83c108
  Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
  Date:   2025-09-22 (Mon, 22 Sep 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.

(cherry picked from commit 058d96f2d68d3496ae52774c06177d4a9039a134)



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