mirror of https://github.com/llvm/torch-mlir
NFC: Remove TODO about creating an mlirOperationStateDestroy (unnecessary).
parent
9ffd2556ab
commit
f13994fdf7
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue