[PATCH] D127219: [SLP]Extend vectorization for scatter vectorize nodes.
Valeriy Dmitriev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 8 10:41:36 PDT 2022
vdmitrie accepted this revision.
vdmitrie added a comment.
This revision is now accepted and ready to land.
LGTM
BTW. One interesting thing I noticed from the test case.
We might want to special case this:
i32 *%addr
%gep3 = getelementptr inbounds i32, i32* %addr, i32 2
%gep5 = getelementptr inbounds i32, i32* %addr, i32 4
...
%gep15 = getelementptr inbounds i32, i32* %addr, i32 14
to be vectorized as if VL0 was "getelementptr inbounds i32, i32* %addr, i32 0"
Now we end up gathering this node.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127219/new/
https://reviews.llvm.org/D127219
More information about the llvm-commits
mailing list