[Mlir-commits] [mlir] [mlir] Enhance dimOp fold (PR #187286)

Hocky Yudhiono llvmlistbot at llvm.org
Sun Mar 22 21:02:39 PDT 2026


hockyy wrote:

https://github.com/llvm/llvm-project/blob/c911b8492374942bf4cfe35411e90a35d3837f6a/mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h#L366

Current similar case is with tensor and memref reshaping folds. Here we put the transformation logic in a util and pass the operations using templates. Calling the utils from both dialects

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


More information about the Mlir-commits mailing list