[Mlir-commits] [mlir] [mlir][tosa] Add add/sub/mul/div_floor/div_ceil_shape ops (PR #169321)

Sayan Saha llvmlistbot at llvm.org
Mon Dec 15 06:56:44 PST 2025


================
@@ -53,6 +46,29 @@ class Tosa_ElementwiseShapeOp<string mnemonic, list<Trait> traits = []>
 }
 
 
+//===----------------------------------------------------------------------===//
+// Operator: AddShape
----------------
sahas3 wrote:

Clarification: Is the reason to introduce a new `tosa.add_shape` for `tosa.shapeType` and not to extend `tosa.add` to handle `tosa.shapeType` is because of broadcast semantics of `tosa.add`? Or there are other considerations as well -- is there any document to read to understand the motivation? Thanks!

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


More information about the Mlir-commits mailing list