This is an archive of the discontinued LLVM Phabricator instance.

(Reland) [mlir] Switch segment size attributes to DenseI32ArrayAttr
ClosedPublic

Authored by Mogball on Aug 12 2022, 1:06 PM.

Details

Summary

This reland includes changes to the Python bindings.

Switch variadic operand and result segment size attributes to use the
dense i32 array. Dense integer arrays were introduced primarily to
represent index lists. They are a better fit for segment sizes than
dense elements attrs.

Depends on D131801

Diff Detail

Event Timeline

Mogball created this revision.Aug 12 2022, 1:06 PM
Herald added a reviewer: rriddle. · View Herald Transcript
Herald added a reviewer: aartbik. · View Herald Transcript
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Mogball requested review of this revision.Aug 12 2022, 1:06 PM
Mogball edited the summary of this revision. (Show Details)Aug 12 2022, 1:11 PM
rriddle accepted this revision.Aug 12 2022, 1:45 PM
This revision is now accepted and ready to land.Aug 12 2022, 1:45 PM