[PATCH] D101297: [SLP]Allow masked gathers only if allowed by target.
Anton Afanasyev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 27 06:21:34 PDT 2021
anton-afanasyev added a comment.
> Pure cost won't work here, we need to check if this is legal just to try to generate masked gather at all. Cost problem is different.
Can't we rely on cost model to deal with this? This can be profitable for futher vectorization, when we can start from such gather loads as seed. Yes, we have "unlegal" gathers for llvm ir, but they are lowered to legal code eventually. What is the motivation for this change?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101297/new/
https://reviews.llvm.org/D101297
More information about the llvm-commits
mailing list