[llvm] [DAGCombiner] Add combine for vector interleave of splats (PR #151110)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 31 03:15:46 PDT 2025
================
@@ -25397,6 +25429,9 @@ SDValue DAGCombiner::visitCONCAT_VECTORS(SDNode *N) {
return DAG.getBuildVector(VT, SDLoc(N), Opnds);
}
+ if (SDValue V = combineConcatVectorInterleave(N, DAG))
+ return V;
+
----------------
david-arm wrote:
OK, I've tried the suggestion of doing the combine on the VECTOR_INTERLEAVE only, but it also required adding a separate combine for concat_vector(splat, splat, ...).
https://github.com/llvm/llvm-project/pull/151110
More information about the llvm-commits
mailing list