[Mlir-commits] [mlir] [mlir][tosa] Make TOSA RESIZE's scale, offset, border as Input (PR #124956)

Hsiangkai Wang llvmlistbot at llvm.org
Wed Feb 12 04:09:48 PST 2025


================
@@ -1444,105 +1447,6 @@ class ResizeUnaryConverter : public OpRewritePattern<tosa::ResizeOp> {
   }
 };
 
-// TOSA resize with width or height of 1 may be broadcasted to a wider
-// dimension. This is done by materializing a new tosa.resize without
-// the broadcasting behavior, and an explicit broadcast afterwards.
-class MaterializeResizeBroadcast : public OpRewritePattern<tosa::ResizeOp> {
----------------
Hsiangkai wrote:

After discussed with the original author, I reverted the rewrite pattern. We can have another patch to remove it later. This patch focuses on TOSA v1.0 update.

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


More information about the Mlir-commits mailing list