[llvm] [AArch64] Model ZA array using inaccessible memory (PR #132058)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 9 07:48:35 PDT 2025


================
@@ -102,6 +102,8 @@ class sme_outer_product_pseudo<ZPRRegOp zpr_ty, SMEMatrixTypeEnum za_flag>
   // Translated to the actual instructions in AArch64ISelLowering.cpp
   let SMEMatrixType = za_flag;
   let usesCustomInserter = 1;
+  let mayLoad = 1;
+  let mayStore = 1;
----------------
Lukacma wrote:

Yes. Instructions need to define same memory behaviour  as the instrinsics.  patterns fail otherwise.

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


More information about the llvm-commits mailing list