[Mlir-commits] [mlir] [MLIR] Fix incorrect memref::DimOp canonicalization, add tensor::DimOp canonicalization (PR #84225)

Sayan Saha llvmlistbot at llvm.org
Fri Mar 8 05:49:06 PST 2024


================
@@ -317,7 +317,6 @@ static void lowerLinalgToLoopsImpl(Operation *enclosingOp) {
   MLIRContext *context = enclosingOp->getContext();
   RewritePatternSet patterns(context);
   patterns.add<LinalgRewritePattern<LoopType>>(context);
-  memref::DimOp::getCanonicalizationPatterns(patterns, context);
----------------
sahas3 wrote:

Revert this change.

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


More information about the Mlir-commits mailing list