[PATCH] D142348: [RISCV][Docs] Document code generation for vector extension

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 03:55:02 PST 2023


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

This adds a user guide that briefly overviews the vector extension, and
how the RISC-V backend generates code for it.
It is mostly based off of the original codegen RFC:
https://lists.llvm.org/pipermail/llvm-dev/2020-October/145850.html
But is updated for differences in today's implementation.
Specifically, it gives examples of how code is generated for

- Scalable vectors
- Fixed-length vectors
- Vector predication instructions


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142348

Files:
  llvm/docs/RISCV/RISCVVectorExtension.rst
  llvm/docs/UserGuides.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142348.491293.patch
Type: text/x-patch
Size: 21450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230123/14e17e1c/attachment.bin>


More information about the llvm-commits mailing list