This restricts the attributes to integers for constants of type
IndexType. So far an attribute like StringAttr as in
%c1 = constant "" : index
is valid.
Differential D98216
[mlir] Fix ConstantOp verifier marbre on Mar 8 2021, 1:35 PM. Authored by
Details
This restricts the attributes to integers for constants of type %c1 = constant "" : index is valid.
Diff Detail
Event TimelineComment Actions Please add a test.
Comment Actions All done.Address River's comment
|
This could also move into the IntegerAttr check, BoolAttr is now just a special case of IntegerAttr(it used to be different).