[PATCH] D103898: [VP] Length predicated vector splice intrinsic

Vineet Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 07:46:56 PDT 2021


vkmr created this revision.
vkmr added reviewers: simoll, rogfer01, craig.topper, frasercrmck.
vkmr added a project: VP.
Herald added subscribers: dexonsmith, jdoerfert.
vkmr requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch introduces the vector-predicated version of the experimental_vector_splice intrinsic [1] at the IR level. It considers the active vector length for both vectors and and uses a vector mask to disable certain lanes in  the result.

[1] https://reviews.llvm.org/D94708


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103898

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/IR/Intrinsics.td
  llvm/include/llvm/IR/VPIntrinsics.def
  llvm/test/Verifier/vp-intrinsics.ll
  llvm/unittests/IR/VPIntrinsicTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103898.350598.patch
Type: text/x-patch
Size: 6300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210608/693b8772/attachment.bin>


More information about the llvm-commits mailing list