[PATCH] D120564: [VP] IR expansion pass for VP strided load and store

Lorenzo Albano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 25 06:16:48 PST 2022


loralb created this revision.
loralb added reviewers: rogfer01, simoll, frasercrmck, craig.topper.
Herald added a subscriber: hiraditya.
loralb requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add IR expansion support for `experimental.vp.strided.load` and `experimental.vp.strided.store` intrinsics. If the `vp.gather`/`vp.scatter` intrinsics are legal operations for the target, then the strided ones are expanded to them; otherwise, they are expanded to the unpredicated `masked.load` and `masked.store` intrinsics.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120564

Files:
  llvm/lib/CodeGen/ExpandVectorPredication.cpp
  llvm/test/CodeGen/Generic/expand-vp-strided-accesses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120564.411396.patch
Type: text/x-patch
Size: 9417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220225/9d5dd2ec/attachment.bin>


More information about the llvm-commits mailing list