Skip to content

Commit 4878955

Browse files
author
git apple-llvm automerger
committed
Merge commit 'e0f0c463b539' from llvm.org/release/18.x into stable/20240123
2 parents dd59aa5 + e0f0c46 commit 4878955

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2092,6 +2092,7 @@ DiagnosedSilenceableFailure transform::ConvertToLoopsOp::applyToOne(
20922092
scf::lowerToLoopsUsingSCFForOp(rewriter, target);
20932093
if (failed(loops))
20942094
return emitDefaultDefiniteFailure(target);
2095+
rewriter.eraseOp(target);
20952096
return DiagnosedSilenceableFailure::success();
20962097
}
20972098

mlir/test/Interfaces/TilingInterface/lower-to-loops-using-interface.mlir

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module attributes {transform.with_named_sequence} {
3333
// CHECK: %[[MULF:.+]] = arith.mulf %[[LHS]], %[[RHS]]
3434
// CHECK: %[[ADDF:.+]] = arith.addf %[[OUT]], %[[MULF]]
3535
// CHECK: memref.store %[[ADDF]], %[[ARG2]][%[[IV0]], %[[IV1]]]
36+
// CHECK-NOT: linalg.matmul ins(%arg0, %arg1 : memref<?x?xf32>, memref<?x?xf32>)
3637

3738
// -----
3839

0 commit comments

Comments
 (0)