[PATCH] D138766: [InstCombine] If loading from small alloca, load whole alloca and perform variable extraction
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 1 12:14:32 PST 2022
efriedma added a comment.
> I'm not using vector for anything else here
All your testcases involve using the result as a vector? That seems relevant.
> Also, we don't really have a way in LLVM IR to represent a shuffle with variable mask.
Not in a target-independent way, no. Almost every target with a vector unit has some sort of variable shuffle intrinsic, but the semantics aren't consistent.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138766/new/
https://reviews.llvm.org/D138766
More information about the llvm-commits
mailing list