[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:05 PDT 2026
================
@@ -22123,6 +22123,19 @@ static SDValue performReinterpretCastCombine(SDNode *N) {
static SDValue performSVEAndCombine(SDNode *N,
TargetLowering::DAGCombinerInfo &DCI) {
SelectionDAG &DAG = DCI.DAG;
+
+ // Fold AND of a predicated NOT into BIC when NOT's inactive lanes do not
+ // matter, leaving standalone NOTs available for predicated selection.
+ for (unsigned I = 0; I != 2; ++I) {
----------------
CarolineConcatto wrote:
Do we need to have a loop here? Is it possible to remove?
https://github.com/llvm/llvm-project/pull/232526
More information about the llvm-branch-commits
mailing list