[all-commits] [llvm/llvm-project] 3ea787: [SLP]Unify vectorization of PHI and store nodes wi...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu Oct 21 06:41:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ea7877c8b62ba100e7b34dbf4afa0171d5b4705
      https://github.com/llvm/llvm-project/commit/3ea7877c8b62ba100e7b34dbf4afa0171d5b4705
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll

  Log Message:
  -----------
  [SLP]Unify vectorization of PHI and store nodes with improved tiny tree vectorization.

Vectorization of PHIs and stores very similar, it might be beneficial to
try to revectorize stores (like PHIs) if the total number of stores with
the same/alternate opcode is less than the vector size but number of
stores with the same type is larger than the vector size.

Differential Revision: https://reviews.llvm.org/D109831




More information about the All-commits mailing list