[all-commits] [llvm/llvm-project] e15ae4: Customize exception thrown from mlir.Operation.cre...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Mon Dec 7 15:07:27 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e15ae454b4b4632d4f40a9d95a5c7e4de95990cc
https://github.com/llvm/llvm-project/commit/e15ae454b4b4632d4f40a9d95a5c7e4de95990cc
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2020-12-07 (Mon, 07 Dec 2020)
Changed paths:
M mlir/lib/Bindings/Python/IRModules.cpp
M mlir/test/Bindings/Python/ir_operation.py
Log Message:
-----------
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
Commit: e56f398dd3740d97ac3b7ec1c69a12b951efd9a3
https://github.com/llvm/llvm-project/commit/e56f398dd3740d97ac3b7ec1c69a12b951efd9a3
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2020-12-07 (Mon, 07 Dec 2020)
Changed paths:
M mlir/lib/Bindings/Python/IRModules.cpp
M mlir/test/Bindings/Python/ir_attributes.py
Log Message:
-----------
Add Python binding for MLIR Type Attribute
Differential Revision: https://reviews.llvm.org/D92711
Compare: https://github.com/llvm/llvm-project/compare/40ad476a3244...e56f398dd374
More information about the All-commits
mailing list