[llvm] [SelectionDAG][x86] Ensure vector reduction optimization (PR #144231)

Suhajda Tamás via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 10:19:27 PDT 2025


================
@@ -47255,6 +47321,36 @@ static SDValue combineExtractVectorElt(SDNode *N, SelectionDAG &DAG,
   return SDValue();
 }
 
+static SDValue combineExtractVectorEltAndOperand(SDNode* N, SelectionDAG& DAG,
----------------
sutajo wrote:

They are independent, but in the end they serve the same purpose. Should I open a separate PR for the lowering?

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


More information about the llvm-commits mailing list