[PATCH] D74977: [WIP][RISCV][GlobalISel] Add lowerFormalArguments for calling convention

Lewis Revill via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 21 11:36:30 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: D69808: [RISCV GlobalISel] Add lowerReturn for calling conv..

This patch adds an IncomingValueHandler and implements minimal support for lowering formal arguments according to the RISC-V calling convention. Simple non-aggregate types are supported. Lowering according to fastcc calling convention is not yet supported.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74977

Files:
  llvm/lib/Target/RISCV/RISCVCallLowering.cpp
  llvm/test/CodeGen/RISCV/GlobalISel/irtranslator-calllowering.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74977.245935.patch
Type: text/x-patch
Size: 11141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200221/a55188d6/attachment-0001.bin>


More information about the llvm-commits mailing list