diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2020-12-05 01:28:41 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2020-12-07 23:06:58 +0000 |
commit | e15ae454b4b4632d4f40a9d95a5c7e4de95990cc (patch) | |
tree | e488acf701c6e8eacbf75855fa9b161e4a81b608 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 40ad476a32445ec98666adcf24d2b33fd887ccc6 (diff) | |
download | llvm-e15ae454b4b4632d4f40a9d95a5c7e4de95990cc.zip llvm-e15ae454b4b4632d4f40a9d95a5c7e4de95990cc.tar.gz llvm-e15ae454b4b4632d4f40a9d95a5c7e4de95990cc.tar.bz2 |
Customize exception thrown from mlir.Operation.create() python bindings
The default exception handling isn't very user friendly and does not
point accurately to the issue. Instead we can indicate which of the
operands isn't valid and provide contextual information in the error
message.
Differential Revision: https://reviews.llvm.org/D92710
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions