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.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVCallLowering.cpp | ||
---|---|---|
201 | Same as other patches, don't copy your own splitToValueTypes |
Comment Actions
Introduce an IncomingValueAssigner to allow us to call determineAndHandleAssignments.
llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/args.ll | ||
---|---|---|
258 | Probably should have some byval, sret, and cases where the argument list runs out of registers. Same for return values / hidden sret |