[Mlir-commits] [mlir] [MLIR][TOSA] Add --tosa-remove-redundant-transposes pass (PR #108260)

Jacques Pienaar llvmlistbot at llvm.org
Fri Sep 13 11:08:06 PDT 2024


================
@@ -206,6 +206,15 @@ def Tosa_ExplicitValuePadOpQuantInfoBuilder : OpBuilder<
                                          input, paddings, pad_value);
   }]>;
 
+//===----------------------------------------------------------------------===//
+// TOSA Operator Trait.
+//===----------------------------------------------------------------------===//
+
+// Permits broadcasting. Elementwise trait is too strict.
----------------
jpienaar wrote:

Is it OK that this always allow broadcasting? E.g., are you going to use elementwise for ops where broadcasting is not allowed, and TOSA elementwise where elementwise + broadcasting is?

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


More information about the Mlir-commits mailing list