[Mlir-commits] [mlir] [mlir] [linalg] fix side effect of linalg op (PR #114045)
donald chen
llvmlistbot at llvm.org
Tue Oct 29 07:24:23 PDT 2024
================
@@ -1232,3 +1232,21 @@ func.func @transpose_buffer(%input: memref<?xf32>,
// CHECK-SAME: %[[VAL_1:.*]]: memref<?xf32>) {
// CHECK: linalg.transpose ins(%[[VAL_0]] : memref<?xf32>)
// CHECK-SAME: outs(%[[VAL_1]] : memref<?xf32>) permutation = [0]
+
+// -----
+
+// This test checks linalg op has a recursive memory effect. Otherwise
+// linalg.map without user would not be deleted in canonicalize.
----------------
cxy-1993 wrote:
Thanks, done.
https://github.com/llvm/llvm-project/pull/114045
More information about the Mlir-commits
mailing list