[llvm-branch-commits] [llvm] DAG: Avoid forming shufflevector from a single extract_vector_elt (PR #122672)

Simon Pilgrim via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jan 13 08:30:34 PST 2025


================
@@ -23855,6 +23863,13 @@ SDValue DAGCombiner::reduceBuildVecToShuffle(SDNode *N) {
   // VecIn accordingly.
   bool DidSplitVec = false;
   if (VecIn.size() == 2) {
----------------
RKSimon wrote:

Thanks - it's been a while since I touched this code :)

https://github.com/llvm/llvm-project/pull/122672


More information about the llvm-branch-commits mailing list