Skip to content

Commit d342843

Browse files
committed
[MLIR][python bindings][fix] invalidate ops after PassManager run
1 parent c000bd4 commit d342843

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/test/CAPI/ir.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,6 +2252,7 @@ int testOperationWalk(MlirContext ctx) {
22522252
// CHECK: i don't love you: func.return
22532253
mlirOperationWalk(mlirModuleGetOperation(module), walkCallBack,
22542254
(void *)(&data), MlirWalkPreOrder);
2255+
mlirModuleDestroy(module);
22552256
return 0;
22562257
}
22572258

0 commit comments

Comments
 (0)