[llvm] [AArch64][CodeGen] Split wide active lane mask into smaller masks if preferred (PR #202909)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 04:02:58 PDT 2026
================
@@ -20046,18 +20041,40 @@ performActiveLaneMaskCombine(SDNode *N, TargetLowering::DAGCombinerInfo &DCI,
SelectionDAG &DAG = DCI.DAG;
SDLoc DL(N);
+ SDValue Idx = N->getOperand(0);
+ SDValue TC = N->getOperand(1);
+ EVT ExtVT = Extracts[0]->getValueType(0);
+
+ if (!N->getValueType(0).isScalableVector() ||
----------------
paulwalker-arm wrote:
It's better to be explicit, so `isFixedLengthVector()` rather than `!isScalableVector`.
https://github.com/llvm/llvm-project/pull/202909
More information about the llvm-commits
mailing list