mirror of https://github.com/llvm/torch-mlir
0c89296075
This code was not exception safe -- it would leave an operation unattached to anything, which breaks MLIR's C++ data structure invariants (e.g. it cannot safely erase ops). Also, print out both the exception and any diagnostics, since they can both contain useful information. |
||
---|---|---|
.. | ||
torch_mlir | ||
torch_mlir_utils/codegen | ||
CMakeLists.txt |