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

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu Oct 28 05:47:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07ef9f513f247f6ceb14d72b8218401e070d450d
      https://github.com/llvm/llvm-project/commit/07ef9f513f247f6ceb14d72b8218401e070d450d
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-10-28 (Thu, 28 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/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