[PATCH] D75023: [WIP][RISCV][GlobalISel] Add lowerCall for calling convention
Lewis Revill via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 23 11:13:18 PST 2020
lewis-revill created this revision.
lewis-revill added reviewers: asb, weiwei, lenary, luismarques, simoncook, apazos, shiva0217.
Herald added subscribers: llvm-commits, evandro, sameer.abuasal, pzheng, s.egerton, Jim, benna, psnobl, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, MaskRay, jrtc27, kito-cheng, niosHD, sabuasal, johnrusso, rbar, hiraditya, rovka.
Herald added a project: LLVM.
lewis-revill added a parent revision: D74977: [WIP][RISCV][GlobalISel] Add lowerFormalArguments 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. Simple non-aggregate types are supported. Lowering according to fastcc calling convention is not yet supported.
This patch is work in progress - many cases are not covered yet but feedback is very much appreciated.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75023
Files:
llvm/lib/Target/RISCV/RISCVCallLowering.cpp
llvm/lib/Target/RISCV/RISCVCallLowering.h
llvm/test/CodeGen/RISCV/GlobalISel/irtranslator-calllowering.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75023.246116.patch
Type: text/x-patch
Size: 16285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200223/1301f512/attachment.bin>
More information about the llvm-commits
mailing list