[Mlir-commits] [mlir] 1d1a2eb - [mlir][py] Fix unused var
Jacques Pienaar
llvmlistbot at llvm.org
Mon Feb 6 17:45:18 PST 2023
Author: Jacques Pienaar
Date: 2023-02-06T17:44:47-08:00
New Revision: 1d1a2eb298f240a8fc8a4a49f0e238bfdfb1d03f
URL: https://github.com/llvm/llvm-project/commit/1d1a2eb298f240a8fc8a4a49f0e238bfdfb1d03f
DIFF: https://github.com/llvm/llvm-project/commit/1d1a2eb298f240a8fc8a4a49f0e238bfdfb1d03f.diff
LOG: [mlir][py] Fix unused var
Added:
Modified:
mlir/lib/Bindings/Python/IRInterfaces.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Bindings/Python/IRInterfaces.cpp b/mlir/lib/Bindings/Python/IRInterfaces.cpp
index b917bf0c17b63..c8371dcc7229e 100644
--- a/mlir/lib/Bindings/Python/IRInterfaces.cpp
+++ b/mlir/lib/Bindings/Python/IRInterfaces.cpp
@@ -206,6 +206,8 @@ class PyInferTypeOpInterface
mlirOperands.push_back(val->get());
continue;
} catch (py::cast_error &err) {
+ // Intentionally unhandled to try sequence below first.
+ (void)err;
}
try {
More information about the Mlir-commits
mailing list