Skip to content

Commit b02a25c

Browse files
committed
erase op
1 parent 811633e commit b02a25c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ struct MemoryCounterWaitOpLowering
491491
if (auto exp = adaptor.getExp())
492492
rewriter.create<ROCDL::WaitExpcntOp>(loc, *exp);
493493

494+
rewriter.eraseOp(op);
494495
return success();
495496
}
496497

0 commit comments

Comments
 (0)