This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Cleanup DenseArrayAttrBase definition and expose raw API
ClosedPublic

Authored by Mogball on Aug 8 2022, 3:40 PM.

Details

Summary

This patch cleans up the definition of DenseArrayAttrBase by relying
more on ODS-generated methods. It also exposes an API for using the raw
data of a dense array, similar to DenseIntOrFPElementsAttr::getRaw.

Diff Detail

Event Timeline

Mogball created this revision.Aug 8 2022, 3:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 3:40 PM
Mogball requested review of this revision.Aug 8 2022, 3:40 PM
lattner accepted this revision.Aug 8 2022, 4:13 PM

Nice, I love all the minuses!

This revision is now accepted and ready to land.Aug 8 2022, 4:13 PM
mehdi_amini accepted this revision.Aug 9 2022, 3:16 AM

Thanks!

This revision was landed with ongoing or failed builds.Aug 9 2022, 12:44 PM
This revision was automatically updated to reflect the committed changes.

Nice cleanup!