[Mlir-commits] [mlir] [mlir][spirv] Clarify SPIR-V TOSA op examples (PR #192952)
Davide Grohmann
llvmlistbot at llvm.org
Mon Apr 20 06:26:44 PDT 2026
================
@@ -1939,7 +1956,7 @@ def SPIRV_TosaReduceAllOp : SPIRV_TosaReductionOp<"ReduceAll", 48, [Pure]> {
#### Example:
```mlir
- %1 = spirv.Tosa.ReduceAll axis = 2, %arg0 : !spirv.arm.tensor<18x22x23x12xi1> -> !spirv.arm.tensor<18x22x1x12xi1>
+ %1 = spirv.Tosa.ReduceAll axis = 2, %input : !spirv.arm.tensor<18x22x23x12xi1> -> !spirv.arm.tensor<18x22x1x12xi1>
----------------
davidegrohmann wrote:
It aligns with the input name from the input name in the op definition but I can unify to the `%inputX` format
https://github.com/llvm/llvm-project/pull/192952
More information about the Mlir-commits
mailing list