[clang] [llvm] [AArch64][clang][llvm] Add ACLE Armv9.7 matrix multiply-accumulate intrinsics (PR #193017)

Jonathan Thackray via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 23 08:22:20 PDT 2026


================
@@ -0,0 +1,15 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple aarch64-none-linux-gnu -mattr=+neon,+f16mm              < %s | FileCheck %s
+; RUN: llc -mtriple aarch64-none-linux-gnu -mattr=+neon,+f16mm -global-isel < %s | FileCheck %s
+
+define <8 x half> @fmmla.v8f16.v8f16(<8 x half> %acc, <8 x half> %a, <8 x half> %b) {
+; CHECK-LABEL: fmmla.v8f16.v8f16:
+; CHECK:       // %bb.0: // %entry
+; CHECK-NEXT:    fmmla v0.8h, v1.8h, v2.8h
+; CHECK-NEXT:    ret
+entry:
+  %out = tail call <8 x half> @llvm.aarch64.neon.fmmla.v8f16.v8f16(<8 x half> %acc, <8 x half> %a, <8 x half> %b)
+  ret <8 x half> %out
+}
+
+declare <8 x half> @llvm.aarch64.neon.fmmla.v8f16.v8f16(<8 x half>, <8 x half>, <8 x half>)
----------------
jthackray wrote:

Done.

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


More information about the cfe-commits mailing list