[PATCH] D157676: [VectorCombine] Enable transform 'foldSingleElementStore' for scalable vector types

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 10 21:51:51 PDT 2023


benshi001 created this revision.
benshi001 added reviewers: spatel, dmgreen, nikic, RKSimon, fhahn.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
benshi001 requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, alextsao1999, jacquesguan.
Herald added a project: LLVM.

The transform 'foldSingleElementStore' can be applied to scalable
vector types if both conditions are satisfied:

      

1. Tt is little endian.
2. The index is less than the minium number of elements.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157676

Files:
  llvm/lib/Transforms/Vectorize/VectorCombine.cpp
  llvm/test/Transforms/VectorCombine/load-insert-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157676.549240.patch
Type: text/x-patch
Size: 8993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230811/51c3428c/attachment.bin>


More information about the llvm-commits mailing list