diff --git a/mlir/test/Transforms/canonicalize.mlir b/mlir/test/Transforms/canonicalize.mlir --- a/mlir/test/Transforms/canonicalize.mlir +++ b/mlir/test/Transforms/canonicalize.mlir @@ -1129,8 +1129,8 @@ return %ret : memref<5xf32> } // CHECK-NEXT: %[[ret:.*]] = memref.alloc() -// CHECK-NOT: %[[temp:.*]] = memref.clone -// CHECK-NOT: memref.dealloc %[[temp]] +// CHECK-NOT: %{{.*}} = memref.clone +// CHECK-NOT: memref.dealloc %{{.*}} // CHECK: return %[[ret]] // -----