[Mlir-commits] [mlir] [mlir][ArmSME][test] Add test for importing "new ZA" function attribute (PR #77333)
Benjamin Maxwell
llvmlistbot at llvm.org
Mon Jan 8 08:22:11 PST 2024
https://github.com/MacDue created https://github.com/llvm/llvm-project/pull/77333
None
>From e705ad3498a87086f714a38eb1138b0af26f7cb2 Mon Sep 17 00:00:00 2001
From: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: Mon, 8 Jan 2024 16:18:59 +0000
Subject: [PATCH] [mlir][ArmSME][test] Add test for importing "new ZA" function
attribute
---
mlir/test/Target/LLVMIR/Import/function-attributes.ll | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/mlir/test/Target/LLVMIR/Import/function-attributes.ll b/mlir/test/Target/LLVMIR/Import/function-attributes.ll
index f76e7293809628..1e8cec88015b3b 100644
--- a/mlir/test/Target/LLVMIR/Import/function-attributes.ll
+++ b/mlir/test/Target/LLVMIR/Import/function-attributes.ll
@@ -220,6 +220,14 @@ define void @streaming_compatible_func() "aarch64_pstate_sm_compatible" {
// -----
+; CHECK-LABEL: @new_za_func
+; CHECK-SAME: attributes {arm_new_za}
+define void @new_za_func() "aarch64_pstate_za_new" {
+ ret void
+}
+
+// -----
+
; CHECK-LABEL: @section_func
; CHECK-SAME: attributes {section = ".section.name"}
define void @section_func() section ".section.name" {
More information about the Mlir-commits
mailing list