[PATCH] D134218: [VPlan] Sink non-uniform recieps for scalar plans.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 08:40:10 PST 2022
fhahn updated this revision to Diff 482872.
fhahn added a comment.
Rebased patch on top of current `main`.
In D134218#3802359 <https://reviews.llvm.org/D134218#3802359>, @Ayal wrote:
> LGTM.
>
> This is essentially saying that for VF=1 every recipe is uniform (across VF lanes), or none are.
> Perhaps this should be done more 'uniformly', as in CM.isUniformAfterVectorization(I, VF) which returns true if (VF.isScalar()) regardless of I.
Thanks! That might be an option in the future.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134218/new/
https://reviews.llvm.org/D134218
Files:
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge-vf1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134218.482872.patch
Type: text/x-patch
Size: 4921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221214/47ecd203/attachment.bin>
More information about the llvm-commits
mailing list