[llvm-branch-commits] [llvm] [AArch64][llvm] Combine SVE AND-NOT operations into BIC for _x forms (PR #232526)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Oct 19 03:43:04 PDT 2026
================
@@ -25381,6 +25394,26 @@ static SDValue lowerPredCounterWhile(Intrinsic::ID IID, SDNode *N,
DAG.getTargetConstant(ElementSizeInBits, DL, MVT::i64));
}
+static SDValue performSVEAndNotIntrinsicCombine(SDNode *N, SelectionDAG &DAG) {
+ SDValue Pg = N->getOperand(1);
+
+ // Fold matching predicates before lowering AND_U discards its predicate.
+ // NOT's inactive lanes cannot affect AND_U's active lanes.
----------------
CarolineConcatto wrote:
Can you write the combine you are trying to form?
Can this be done in the backend with patterns?
https://github.com/llvm/llvm-project/pull/232526
More information about the llvm-branch-commits
mailing list