[all-commits] [llvm/llvm-project] 991ecf: [RISCV][GlobalISel] Add lowerReturn for calling conv

Nitin John Raj via All-commits all-commits at lists.llvm.org
Tue May 23 11:28:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 991ecfb83daf6fa303385c708874d60f7ded92ab
      https://github.com/llvm/llvm-project/commit/991ecfb83daf6fa303385c708874d60f7ded92ab
  Author: Nitin John Raj <nitin.raj at sifive.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

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

  Log Message:
  -----------
  [RISCV][GlobalISel] Add lowerReturn for calling conv

Add minimal support to lower return, and introduce an OutgoingValueHandler and an OutgoingValueAssigner for returns.

Supports return values with integer, pointer and aggregate types.

(Update of D69808 - avoiding commandeering that revision)

Co-authored By: lewis-revill

Reviewed By: arsenm

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




More information about the All-commits mailing list