[all-commits] [llvm/llvm-project] d130df: [SLP]Improve reordering for the nodes beeing used ...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu Jan 6 11:20:37 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d130df544d6ca922f063a2d72908ea5156fe06e2
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-01-06 (Thu, 06 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
    M llvm/test/Transforms/SLPVectorizer/X86/vectorize-reordered-list.ll

  Log Message:
  [SLP]Improve reordering for the nodes beeing used in alternate vectorization.

No need to include the order of the scalars beeing used as part of the
alternate vectorization into account when trying to reorder the whole
graph. Such elements better to reorder in the following phase because
the subtree still ends up in shuffle.

Part of D116688, fixes the regression in D116690.

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

More information about the All-commits mailing list