[llvm] [DAGCombiner] Add support for scalarising extracts of a vector setcc (PR #116031)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 10:28:38 PST 2024


================
@@ -22743,19 +22743,15 @@ SDValue DAGCombiner::scalarizeExtractedVectorLoad(SDNode *EVE, EVT InVecVT,
 
 /// Transform a vector binary operation into a scalar binary operation by moving
 /// the math/logic after an extract element of a vector.
-static SDValue scalarizeExtractedBinop(SDNode *ExtElt, SelectionDAG &DAG,
-                                       const SDLoc &DL, bool LegalOperations) {
-  const TargetLowering &TLI = DAG.getTargetLoweringInfo();
+static bool scalarizeExtractedBinOpCommon(SDNode *ExtElt, SelectionDAG &DAG,
+                                          const SDLoc &DL, bool IsSetCC,
----------------
paulwalker-arm wrote:

`IsSetCC` is unused?

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


More information about the llvm-commits mailing list