[all-commits] [llvm/llvm-project] ec5def: Fix MLIR Python binding for arith.constant after a...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Mon Aug 1 02:07:33 PDT 2022
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2022-08-01 (Mon, 01 Aug 2022)
Fix MLIR Python binding for arith.constant after argument has been changed to an interface
e1795322844c 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
More information about the All-commits