NFC: Remove TODO about creating an mlirOperationStateDestroy (unnecessary).

pull/129/head
Stella Laurenzo 2020-11-23 15:01:51 -08:00
parent 9ffd2556ab
commit f13994fdf7
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public:
OperationStateHolder(OperationStateHolder &&other) = delete; OperationStateHolder(OperationStateHolder &&other) = delete;
~OperationStateHolder() { ~OperationStateHolder() {
if (owned) { if (owned) {
// TODO: Upstream a mlirOperationStateDestroy() function. // Destroying is done by creating and then destroying the operation.
mlirOperationDestroy(createOperation()); mlirOperationDestroy(createOperation());
} }
} }