[PATCH] D145022: [RISCV] Add vsseg intrinsic for fixed length vectors
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 17:03:29 PST 2023
luke created this revision.
luke added reviewers: reames, craig.topper, mgabka.
Herald added subscribers: asb, pmatos, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, 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.
These intrinsics are equivalent to the regular @llvm.riscv.vssegNF
intrinsics, only they accept fixed length vectors in their overloaded
types: The regular intrinsics only operate on scalable vectors.
These intrinsics convert the fixed length vectors to scalable ones, and
then lower it on to the regular scalable intrinsic.
This mirrors the intrinsics added in 0803dba7dd998ad073d75a32b65296734c10ae70 <https://reviews.llvm.org/rG0803dba7dd998ad073d75a32b65296734c10ae70>
This will be used in a later patch with the Interleaved Access pass.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145022
Files:
llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vector-segN-store.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145022.501339.patch
Type: text/x-patch
Size: 12255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230301/532269a5/attachment.bin>
More information about the llvm-commits
mailing list