[clang] [llvm] [mlir] [AArch64][llvm][clang] Remove `int_aarch64_sve_bfmmla` and reuse existing def (NFC) (PR #193970)

Andrzej WarzyƄski via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 27 01:57:36 PDT 2026


================
@@ -294,10 +294,10 @@ def UsmmlaOp : ArmSVE_Op<"usmmla", [Pure,
     "$acc `,` $src1 `,` $src2 attr-dict `:` type($src1) `to` type($dst)";
 }
 
-def BfmmlaOp : ArmSVE_IntrOp<"bfmmla", [Pure,
-                                        AllTypesMatch<["src1", "src2"]>,
-                                        AllTypesMatch<["acc", "res"]>,
-                                        ]> {
+def BfmmlaOp : LLVM_IntrOpBase<ArmSVE_Dialect, "intr.bfmmla", "aarch64_sve_fmmla", [0], [1],
+                               [Pure,
+                                AllTypesMatch<["src1", "src2"]>,
+                                AllTypesMatch<["acc", "res"]>], 1> {
----------------
banach-space wrote:

Why use `LLVM_IntrOpBase` directly? It's not immediately obvious to me that `ArmSVE_IntrOp` couldn't be re-used here. 

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


More information about the cfe-commits mailing list