[Mlir-commits] [mlir] TosaToTensor: Support reshape on tensors of unsigned integer (PR #91734)

Suraj Sudhir llvmlistbot at llvm.org
Mon May 20 09:28:39 PDT 2024


================
@@ -2617,3 +2617,37 @@ void mlir::tosa::populateTosaToLinalgConversionPatterns(
       TileConverter>(patterns->getContext());
   // clang-format on
 }
+
+void mlir::tosa::populateTosaToLinalgTypeConversion(TypeConverter &converter) {
----------------
sjarus wrote:

Looks good in general but I'm wondering if a common case type converter could sit as a utility function within the source dialect itself ? 

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


More information about the Mlir-commits mailing list