[PATCH] D149742: [SLP]Improve isGatherShuffledEntry by trying per-register shuffle.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 20 05:38:00 PDT 2023


ABataev added a comment.

In D149742#4648725 <https://reviews.llvm.org/D149742#4648725>, @RKSimon wrote:

> I've done my best, but I'm really struggling to understand a lot of this patch :(

Generally speaking, it does the same as before, just splits the node into vector registers and tries to do per register shuffles instead of per node shuffles. It may reduce final number of shuffles, since we do not need to permute all the register in the node, just some of them. The single node may result in several vector registers, no need to permute all of them.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149742/new/

https://reviews.llvm.org/D149742



More information about the llvm-commits mailing list