[llvm-branch-commits] [llvm] [AArch64] Add patterns to combine SVE AND and XOR to BIC (PR #238442)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 10 06:46:56 PST 2026


================
@@ -759,7 +761,19 @@ let Predicates = [HasSVE_or_SME] in {
   defm EOR_ZZZ : sve_int_bin_cons_log<0b10, "eor", xor>;
   defm BIC_ZZZ : sve_int_bin_cons_log<0b11, "bic", AArch64bic>;
 
-  multiclass SVEAndNotPats<ValueType VT, ValueType PT> {
+  defm ADD_ZPmZ  : sve_int_bin_pred_arit_0<0b000, "add",  AArch64add_m1, DestructiveBinaryComm>;
----------------
CarolineConcatto wrote:

Why we moved this around?

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


More information about the llvm-branch-commits mailing list