[all-commits] [llvm/llvm-project] c60c13: [SLP] Improve reordering in presence of constant o...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Wed Jun 15 06:48:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c60c13f7eb7157de1986c0da955d8ba856b65e07
      https://github.com/llvm/llvm-project/commit/c60c13f7eb7157de1986c0da955d8ba856b65e07
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/reorder_diamond_match.ll
    M llvm/test/Transforms/SLPVectorizer/X86/scatter-vectorize-reorder.ll

  Log Message:
  -----------
  [SLP] Improve reordering in presence of constant only nodes.

We can skip the analysis of the constant nodes, their order should not
affect the ordering of the trees/subtrees.

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




More information about the All-commits mailing list