Skip to content
Commit ec5def5e authored by Mehdi Amini's avatar Mehdi Amini
Browse files

Fix MLIR Python binding for arith.constant after argument has been changed to an interface

e1795322 removed the Type field from attributes and
arith::ConstantOp argument is now a TypedAttrInterface which isn't
supported by the python generator.
This patch temporarily restore the functionality for arith.constant but
won't generalize: we need to work on the generator instead.

Differential Revision: https://reviews.llvm.org/D130878
parent 6e1ba62d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment