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

Vimal Patel via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 12 03:10:10 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>;
----------------
pvimal816a wrote:

Actually this is not moved. It's the BIC patterns which have moved but the diff has been computed in such a way it looks like we have moved these patterns.

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


More information about the llvm-branch-commits mailing list