[all-commits] [llvm/llvm-project] 64d161: [SLP]Improve/fix reordering of the gathered graph ...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Wed Oct 27 08:49:55 PDT 2021


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

  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/jumbled-load.ll
    M llvm/test/Transforms/SLPVectorizer/X86/lookahead.ll

  Log Message:
  -----------
  [SLP]Improve/fix reordering of the gathered graph nodes.

Gathered loads/extractelements/extractvalue instructions should be
checked if they can represent a vector reordering node too and their
order should ve taken into account for better graph reordering analysis/
Also, if the gather node has reused scalars, they must be reordered
instead of the scalars themselves.

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




More information about the All-commits mailing list