[all-commits] [llvm/llvm-project] 73ce13: [SLP][TTI]Improve detection of the insert-subvecto...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Jan 10 07:39:48 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73ce13d79bb6f200d6dde61a88369daf74c7a39e
      https://github.com/llvm/llvm-project/commit/73ce13d79bb6f200d6dde61a88369daf74c7a39e
  Author: Alexey Bataev <5361294+alexey-bataev at users.noreply.github.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/RISCV/remarks-insert-into-small-vector.ll

  Log Message:
  -----------
  [SLP][TTI]Improve detection of the insert-subvector pattern for SLP. (#74749)

SLP vectorizer passes the type of the subvector and the mask, which size
determines the size of the resulting vector. TTI should support this
pattern to improve cost estimation of the insert_subvector shuffle
pattern.




More information about the All-commits mailing list