[Mlir-commits] [mlir] [mlir][tosa] Harden folds/canonicalizations for unranked and dynamic shapes (PR #188188)

Luke Hutton llvmlistbot at llvm.org
Thu Mar 26 03:32:23 PDT 2026


================
@@ -269,6 +271,8 @@ struct TosaFoldConstantTranspose : public OpRewritePattern<tosa::TransposeOp> {
   }
 };
 
+/// Fold `tosa.reciprocal` into `tosa.const` when the operand is a dense float
----------------
lhutton1 wrote:

nit: I don't think this comment adds much value

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


More information about the Mlir-commits mailing list