[Mlir-commits] [mlir] [mlir][ArmSME] Add option to only enable streaming mode for scalable code (PR #94759)
Benjamin Maxwell
llvmlistbot at llvm.org
Fri Jun 7 10:13:11 PDT 2024
================
@@ -116,10 +116,14 @@ def EnableArmStreaming
"not be used for input and/or output and the "
"function must return with ZA unchanged")
)}]>,
- Option<"onlyIfRequiredByOps", "only-if-required-by-ops", "bool",
+ Option<"ifRequiredByOps", "if-required-by-ops", "bool",
/*default=*/"false",
- "Only apply the selected streaming/ZA modes if the function "
- " contains ops that require them.">
+ "Apply the selected streaming/ZA modes if the function contains ops "
+ "that require them.">,
+ Option<"ifContainsScalableVectors", "if-contains-scalable-vectors",
+ "bool", /*default=*/"false",
+ "Apply the selected streaming/ZA modes if the function contains "
+ "operations that use scalable vector types.">
----------------
MacDue wrote:
I've tried to improve the docs. I find the suggested wording a little confusing though :sweat_smile: (mainly the "even when requested" since these flags make the "request" conditional).
https://github.com/llvm/llvm-project/pull/94759
More information about the Mlir-commits
mailing list