[all-commits] [llvm/llvm-project] 560bad: [SLP]Improve isGatherShuffledEntry by trying per-r...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Oct 26 06:00:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 560bad013ebcb8d2c2c1722e35270b9a70ab40ce
      https://github.com/llvm/llvm-project/commit/560bad013ebcb8d2c2c1722e35270b9a70ab40ce
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-10-26 (Thu, 26 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/multi-nodes-to-shuffle.ll

  Log Message:
  -----------
  [SLP]Improve isGatherShuffledEntry by trying per-register shuffle.

Currently when building gather/buildvector node, we try to build nodes
shuffles without taking into account separate vector registers. We can
improve final codegen and the whole vectorization process by including
this info into the analysis and the vector code emission, allows to emit
better vectorized code.

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




More information about the All-commits mailing list