[llvm-branch-commits] [llvm] [AArch64][llvm] Combine SVE AND-NOT operations into BIC for _x forms (PR #232526)

Jonathan Thackray via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Oct 23 01:43:55 PDT 2026


================
@@ -25661,8 +25693,7 @@ static SDValue performIntrinsicCombine(SDNode *N,
   case Intrinsic::aarch64_sve_subr:
     return convertMergedOpToPredOp(N, ISD::SUB, DAG, true, true);
   case Intrinsic::aarch64_sve_and_u:
-    return DAG.getNode(ISD::AND, SDLoc(N), N->getValueType(0), N->getOperand(2),
-                       N->getOperand(3));
+    return performSVEAndUIntrinsicCombine(N, DAG);
----------------
jthackray wrote:

Thanks, done in https://github.com/llvm/llvm-project/pull/232526/changes/8e172297cfb2072188c62f469a6dfe3b50e7519e - hope this is what you intended

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


More information about the llvm-branch-commits mailing list