[clang] [llvm] [AArch64][clang][llvm] Add structured sparsity outer product (TMOP) intrinsics (PR #135145)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 01:12:14 PDT 2025


================
@@ -3107,6 +3107,24 @@ let TargetPrefix = "aarch64" in {
     }
   }
 
+  class SME_OuterProduct_TMOP_Intrinsic
+     : DefaultAttrsIntrinsic<[],
+         [llvm_i32_ty,
+          llvm_anyvector_ty,
+          LLVMMatchType<0>,
+          LLVMMatchType<0>,
+          llvm_nxv16i8_ty,
+          llvm_i32_ty],
+         [ImmArg<ArgIndex<0>>, ImmArg<ArgIndex<5>>,
+          IntrInaccessibleMemOnly]>;
+
+  def int_aarch64_sme_tmopa_za16 : SME_OuterProduct_TMOP_Intrinsic;
----------------
CarolineConcatto wrote:

nit: Maybe we should change sme_tmopa to be sme_ftmopa. It is not needed, it will make clear that is only for floating point type size

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


More information about the llvm-commits mailing list