This is an archive of the discontinued LLVM Phabricator instance.

[mlir][standard] Fix parsing of scalar subview and canonicalize
ClosedPublic

Authored by herhut on Oct 15 2020, 7:28 AM.

Details

Summary

Parsing of a scalar subview did not create the required static_offsets attribute.
This also adds support for folding scalar subviews away.

Diff Detail

Event Timeline

herhut created this revision.Oct 15 2020, 7:28 AM
herhut requested review of this revision.Oct 15 2020, 7:28 AM
This revision is now accepted and ready to land.Oct 15 2020, 7:30 AM

Bonus points for similar fix for subtensor / subtensor_insert, esp. since tensor<0xf32> has different semantics.
But this can go standalone.

This revision was landed with ongoing or failed builds.Oct 15 2020, 7:42 AM
This revision was automatically updated to reflect the committed changes.