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

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Wed Oct 27 06:11:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f719b794bcaa1df8fa82659d6d4e754c77d2f94e
      https://github.com/llvm/llvm-project/commit/f719b794bcaa1df8fa82659d6d4e754c77d2f94e
  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