[all-commits] [llvm/llvm-project] af8e38: [RISCV][GlobalISel] Add lowerFormalArguments for c...
Nitin John Raj via All-commits
all-commits at lists.llvm.org
Tue May 30 13:43:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af8e3861025f3c931cc67ced86d6bd8c939e6fc0
https://github.com/llvm/llvm-project/commit/af8e3861025f3c931cc67ced86d6bd8c939e6fc0
Author: Nitin John Raj <nitin.raj at sifive.com>
Date: 2023-05-30 (Tue, 30 May 2023)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/args.ll
Log Message:
-----------
[RISCV][GlobalISel] Add lowerFormalArguments for calling convention
This patch adds an IncomingValueHandler and IncomingValueAssigner, and implements minimal support for lowering formal arguments according to the RISC-V calling convention. Simple non-aggregate integer and pointer types are supported.
In the future, we must correctly handle byval and sret pointer arguments, and instances where the number of arguments exceeds the number of registers.
Coauthored By: lewis-revill
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D74977
More information about the All-commits
mailing list