[all-commits] [llvm/llvm-project] d2b966: [mlir][py] Fix negative cached value in attribute ...
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Tue Dec 27 21:57:12 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d2b96647595da2c1f0fea5e0555466d3db93815c
https://github.com/llvm/llvm-project/commit/d2b96647595da2c1f0fea5e0555466d3db93815c
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M mlir/lib/Bindings/Python/Globals.h
M mlir/lib/Bindings/Python/IRModule.cpp
Log Message:
-----------
[mlir][py] Fix negative cached value in attribute builder
Previously this was incorrectly assigning py::none to where function was
expected which resulted in failure if one used a non-attribute for
attribute without registered builder.
More information about the All-commits
mailing list