[Mlir-commits] [mlir] [mlir] Clean up leftovers from moving linalg::Expand/CollapseShapeOp to memref dialect (PR #172448)

Maya Amrami llvmlistbot at llvm.org
Tue Dec 16 01:52:02 PST 2025


https://github.com/amrami created https://github.com/llvm/llvm-project/pull/172448

None

>From 8651516b0aed2f25a450280a54c7519987436803 Mon Sep 17 00:00:00 2001
From: Maya Amrami <maya.amrami at mobileye.com>
Date: Tue, 16 Dec 2025 11:51:25 +0200
Subject: [PATCH] [mlir] Clean up leftovers from moving
 linalg::Expand/CollapseShapeOp to memref dialect

---
 mlir/test/Dialect/MemRef/canonicalize.mlir | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mlir/test/Dialect/MemRef/canonicalize.mlir b/mlir/test/Dialect/MemRef/canonicalize.mlir
index e02717a2f5689..60311306b984d 100644
--- a/mlir/test/Dialect/MemRef/canonicalize.mlir
+++ b/mlir/test/Dialect/MemRef/canonicalize.mlir
@@ -522,7 +522,7 @@ func.func @fold_collapse_of_expand(%arg0 : memref<12x4xf32>) -> memref<12x4xf32>
   return %1 : memref<12x4xf32>
 }
 // CHECK-LABEL: func @fold_collapse_of_expand
-//   CHECK-NOT:   linalg.{{.*}}_shape
+//   CHECK-NOT:   memref.{{.*}}_shape
 
 // -----
 
@@ -535,7 +535,7 @@ func.func @fold_collapse_collapse_of_expand(%arg0 : memref<?x?xf32>, %sz0: index
   return %1 : memref<?x?xf32>
 }
 // CHECK-LABEL: @fold_collapse_collapse_of_expand
-//   CHECK-NOT:   linalg.{{.*}}_shape
+//   CHECK-NOT:   memref.{{.*}}_shape
 
 // -----
 



More information about the Mlir-commits mailing list