[PATCH] D140069: [DAGCombiner] Scalarize vectorized loads that are splatted
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 04:57:14 PST 2023
luke marked an inline comment as done.
luke added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:23466
+ SelectionDAG &DAG) {
+ if (!Shuf->isSplat())
+ return SDValue();
----------------
RKSimon wrote:
> Similar to D140811 - we might want to limit this to cases where the shuffle is not just a single non-undef mask element
Done: Is there another optimisation that occurs on a splat w/ a single non-undef mask element?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140069/new/
https://reviews.llvm.org/D140069
More information about the llvm-commits
mailing list