[PATCH] D124284: [SLP]Try partial store vectorization if supported by target.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 11:17:41 PDT 2022


ABataev created this revision.
ABataev added reviewers: RKSimon, xbolva00.
Herald added a subscriber: hiraditya.
Herald added a project: All.
ABataev requested review of this revision.
Herald added a project: LLVM.

We can try to vectorize number of stores less than MinVecRegSize
/ scalar_value_size, if it is allowed by target. Gives an extra
opportunity for the vectorization.

Fixes PR54985.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124284

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/GVN/no_speculative_loads_with_asan.ll
  llvm/test/Transforms/NewGVN/no_speculative_loads_with_asan.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/vectorizable-selects-uniform-cmps.ll
  llvm/test/Transforms/SLPVectorizer/X86/crash_7zip.ll
  llvm/test/Transforms/SLPVectorizer/X86/crash_bullet.ll
  llvm/test/Transforms/SLPVectorizer/X86/crash_bullet3.ll
  llvm/test/Transforms/SLPVectorizer/X86/crash_sim4b1.ll
  llvm/test/Transforms/SLPVectorizer/X86/fptosi-inseltpoison.ll
  llvm/test/Transforms/SLPVectorizer/X86/fptosi.ll
  llvm/test/Transforms/SLPVectorizer/X86/fptoui.ll
  llvm/test/Transforms/SLPVectorizer/X86/insert-after-bundle.ll
  llvm/test/Transforms/SLPVectorizer/X86/memory-runtime-checks.ll
  llvm/test/Transforms/SLPVectorizer/X86/no_alternate_divrem.ll
  llvm/test/Transforms/SLPVectorizer/X86/odd_store.ll
  llvm/test/Transforms/SLPVectorizer/X86/pr49933.ll
  llvm/test/Transforms/SLPVectorizer/X86/remark_not_all_parts.ll
  llvm/test/Transforms/SLPVectorizer/X86/reorder_phi.ll
  llvm/test/Transforms/SLPVectorizer/X86/saxpy.ll
  llvm/test/Transforms/SLPVectorizer/X86/schedule-bundle.ll
  llvm/test/Transforms/SLPVectorizer/X86/simple-loop.ll
  llvm/test/Transforms/SLPVectorizer/X86/sitofp-inseltpoison.ll
  llvm/test/Transforms/SLPVectorizer/X86/sitofp.ll
  llvm/test/Transforms/SLPVectorizer/X86/uitofp.ll
  llvm/test/Transforms/SLPVectorizer/X86/vect_copyable_in_binops.ll
  llvm/test/Transforms/SLPVectorizer/slp-max-reg-size.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124284.424544.patch
Type: text/x-patch
Size: 131322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220422/42e63c08/attachment.bin>


More information about the llvm-commits mailing list