[Mlir-commits] [mlir] [mlir][spirv] Introduce base classes for Integer and Bool elementwise binary ops (PR #185904)
Igor Wodiany
llvmlistbot at llvm.org
Wed Mar 11 09:05:44 PDT 2026
IgWod wrote:
Maybe we could pass a type directly to `SPIRV_TosaElementwiseBinaryOp`. For example:
```
def SPIRV_TosaBitwiseAndOp : SPIRV_TosaElementwiseBinaryOp<"SPIRV_TosaInteger_TensorArm", "BitwiseAnd", 16, [Pure]>
```
That is assuming we can generalise it well, otherwise lgtm as it is.
https://github.com/llvm/llvm-project/pull/185904
More information about the Mlir-commits
mailing list