[PATCH] D102466: [RISCV] Support RVP vectors in the calling convention

Jim Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 22:12:09 PDT 2021


Jim created this revision.
Herald added subscribers: vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
Jim requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

Vectors in RVP are passed via GPRs. It can reuse the same
allocation rules as XLen to pass via registers or via the stack.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102466

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/rvp/calling-conv-rv32.ll
  llvm/test/CodeGen/RISCV/rvp/calling-conv-rv64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102466.345353.patch
Type: text/x-patch
Size: 7843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210514/de237abc/attachment.bin>


More information about the llvm-commits mailing list