[all-commits] [llvm/llvm-project] 9c6bee: [RISCV][GlobalISel] Add lowerCall for calling conv...

Nitin John Raj via All-commits all-commits at lists.llvm.org
Thu Jun 1 15:59:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c6bee653ca0b777389f5b6ba2e623e94da41ce4
      https://github.com/llvm/llvm-project/commit/9c6bee653ca0b777389f5b6ba2e623e94da41ce4
  Author: Nitin John Raj <nitin.raj at sifive.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
    A llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/calls.ll

  Log Message:
  -----------
  [RISCV][GlobalISel] Add lowerCall for calling convention

This patch implements minimal support for lowering function calls to callees with arguments and/or return values according to the RISC-V calling convention. Integer, pointer and aggregate types are supported.

Feedback is very much appreciated.

Reviewed By: arsenm

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




More information about the All-commits mailing list