[PATCH] D138186: InstCombine: Simplify vector load based on demanded elements
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 10:09:57 PST 2022
spatel added a comment.
In D138186#3974937 <https://reviews.llvm.org/D138186#3974937>, @lebedev.ri wrote:
> Don't we already do that in VectorCombine?
We have load scalarization, but there's no subvector-narrowing kind of transform AFAIK:
https://github.com/llvm/llvm-project/blob/ee31a4a7029f2f6fda5f416e7eb67ca3907d9e36/llvm/lib/Transforms/Vectorize/VectorCombine.cpp#L1118
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138186/new/
https://reviews.llvm.org/D138186
More information about the llvm-commits
mailing list