This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Fix tosa.reshape failures due to implicit broadcasting
ClosedPublic

Authored by rsuderman on Jul 26 2021, 9:32 PM.

Details

Summary

Make broadcastable needs the output shape to determine whether the operation
includes additional broadcasting. Include some canonicalizations for TOSA
to remove unneeded reshape.

Diff Detail

Event Timeline

rsuderman created this revision.Jul 26 2021, 9:32 PM
rsuderman requested review of this revision.Jul 26 2021, 9:32 PM
NatashaKnk accepted this revision.Jul 28 2021, 2:08 PM
This revision is now accepted and ready to land.Jul 28 2021, 2:08 PM
rsuderman updated this revision to Diff 362892.Jul 29 2021, 2:45 PM

Rebase on head to validate pre-merge is safe.

This revision was landed with ongoing or failed builds.Jul 29 2021, 3:23 PM
This revision was automatically updated to reflect the committed changes.