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

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Oct 26 08:51:58 PDT 2023


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