[PATCH] D115329: [LoopVectorize] Pass a vector type to isLegalMaskedGather/Scatter
Rosie Sumpter via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 10 03:26:12 PST 2021
RosieSumpter updated this revision to Diff 393424.
RosieSumpter edited the summary of this revision.
RosieSumpter added a comment.
- Moved code which checks if masked gathers/scatters are legal for the given vector width to `forceScalarizeMaskedGather/Scatter` for X86
- Pass VF to `isScalarWithPredication` so that we are consistently passing a vector type to `isLegalMaskedGather/Scatter`
- Add minimum vscale attribute to the necessary AArch64 tests
- Remove changes to X86 tests (X86 behaviour is now unchanged by this patch)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115329/new/
https://reviews.llvm.org/D115329
Files:
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.h
llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/LoopVectorize/AArch64/masked-op-cost.ll
llvm/test/Transforms/LoopVectorize/AArch64/tail-fold-uniform-memops.ll
llvm/test/Transforms/LoopVectorize/AArch64/vector-reverse-mask4.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115329.393424.patch
Type: text/x-patch
Size: 24319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211210/0cf8e02f/attachment.bin>
More information about the llvm-commits
mailing list