Add an extra parameter as already done for masked loads and stores (see https://reviews.llvm.org/D68400) so alignment can be taken into consideration in gather/scatter legalization.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D71610
[NFC][TTI] Add Alignment for isLegalMasked[Gather/Scatter] ClosedPublic Authored by anwel on Dec 17 2019, 7:40 AM.
Details Summary Add an extra parameter as already done for masked loads and stores (see https://reviews.llvm.org/D68400) so alignment can be taken into consideration in gather/scatter legalization.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Dec 17 2019, 3:57 PM Closed by commit rG7cd1cfdd6b6c: [NFC][TTI] Add Alignment for isLegalMasked[Gather/Scatter] (authored by anwel). · Explain WhyDec 18 2019, 1:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 234298 llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/lib/Target/X86/X86TargetTransformInfo.h
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
|