[Mlir-commits] [mlir] [mlir][spirv] Clarify SPIR-V TOSA op examples (PR #192952)
Igor Wodiany
llvmlistbot at llvm.org
Mon Apr 20 06:24:26 PDT 2026
================
@@ -986,8 +986,12 @@ def SPIRV_TosaArithmeticRightShiftOp : SPIRV_TosaElementwiseBinaryOp<"Arithmetic
#### Example:
```mlir
- %1 = spirv.Tosa.ArithmeticRightShift round = true, %arg0, %arg1 : !spirv.arm.tensor<1x47x22xi16>, !spirv.arm.tensor<49x47x22xi16> -> !spirv.arm.tensor<49x47x22xi16>
+ %1 = spirv.Tosa.ArithmeticRightShift round = true, %input1, %input2 : !spirv.arm.tensor<1x47x22xi16>, !spirv.arm.tensor<49x47x22xi16> -> !spirv.arm.tensor<49x47x22xi16>
----------------
IgWod wrote:
Would it make sense to call `%input2` -> `%shift_value(s)`/`%shift`?
https://github.com/llvm/llvm-project/pull/192952
More information about the Mlir-commits
mailing list