[PATCH] D140069: [DAGCombiner] Scalarize vectorized loads that are splatted

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 12 08:42:33 PST 2023


RKSimon added a reviewer: lebedev.ri.
RKSimon added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:23466
+                                      SelectionDAG &DAG) {
+  if (!Shuf->isSplat())
+    return SDValue();
----------------
Similar to D140811 - we might want to limit this to cases where the shuffle is not just 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