[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 DOT and MLA operations (PR #163161)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 16 08:49:24 PDT 2025
================
@@ -0,0 +1,24 @@
+// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p2,+f16mm 2>&1 < %s| FileCheck %s
+
+// --------------------------------------------------------------------------//
+// Invalid element width
+
+fmmla z0.b, z0.b, z0.b
+// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
+// CHECK-NEXT: fmmla z0.b, z0.b, z0.b
+// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
+
+// --------------------------------------------------------------------------//
+// Negative tests for instructions that are incompatible with movprfx
+
+movprfx z0.h, p0/m, z7.h
----------------
CarolineConcatto wrote:
I am not sure this is correct, the problem here I believe is not the movprfx, the instruction should accept that, because class sve_fp_matrix_mla has destructive.
I believe the problem is because we have Zn and Zm as Z0
https://github.com/llvm/llvm-project/pull/163161
More information about the llvm-branch-commits
mailing list