[Mlir-commits] [mlir] [mlir] Fold memref.cast static-to-dynamic to memref.expand_shape (PR #170037)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Dec 1 23:29:34 PST 2025


================
@@ -551,6 +551,90 @@ func.func @fold_memref_expand_cast(%arg0 : memref<?x?xf32>) -> memref<2x4x4xf32>
 
 // -----
 
+// CHECK-LABEL: @fold_memref_expand_with_static_to_dynamic_cast
+// CHECK-NOT:     memref.cast
----------------
kdmitry1 wrote:

Done

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


More information about the Mlir-commits mailing list