This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Allow shape dimensions larger than 2^32
ClosedPublic

Authored by rriddle on Dec 3 2021, 5:09 PM.

Details

Summary

Internally we use int64_t to hold shapes, but for some
reason the parser was limiting shapes to unsigned. This
change updates the parser to properly handle int64_t shape
dimensions.

Diff Detail

Event Timeline

rriddle created this revision.Dec 3 2021, 5:09 PM
rriddle requested review of this revision.Dec 3 2021, 5:09 PM
mehdi_amini accepted this revision.Dec 3 2021, 5:12 PM
This revision is now accepted and ready to land.Dec 3 2021, 5:12 PM
This revision was automatically updated to reflect the committed changes.