[Mlir-commits] [mlir] Add more ZA modes (PR #77361)

Benjamin Maxwell llvmlistbot at llvm.org
Wed Jan 10 10:24:58 PST 2024


================
@@ -1715,6 +1717,11 @@ void ModuleImport::processFunctionAttributes(llvm::Function *func,
 
   if (func->hasFnAttribute("aarch64_pstate_za_new"))
     funcOp.setArmNewZa(true);
+  else if (func->hasFnAttribute("aarch64_pstate_za_shared"))
+    funcOp.setArmSharedZa(true);
+  // PreservedZA can be used with eiether NewZA or SharedZA.
----------------
MacDue wrote:

Typo: eiether -> ether 

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


More information about the Mlir-commits mailing list