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

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 15 04:58:37 PDT 2025


================
@@ -3107,6 +3107,23 @@ 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 : SME_OuterProduct_TMOP_Intrinsic;
----------------
CarolineConcatto wrote:

Ok, it looks like I am wrong about the properties for the ZA instructions:
https://github.com/llvm/llvm-project/pull/132058
According to the changes in the patch above Za should have IntrInaccessibleMemOnly.

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


More information about the llvm-commits mailing list