[Mlir-commits] [mlir] [mlir][ArmSME][test] Add test for importing "new ZA" function attribute (PR #77333)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jan 8 08:22:38 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-llvm

Author: Benjamin Maxwell (MacDue)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/77333.diff


1 Files Affected:

- (modified) mlir/test/Target/LLVMIR/Import/function-attributes.ll (+8) 


``````````diff
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" {

``````````

</details>


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


More information about the Mlir-commits mailing list