This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Fix tosa.concat by inserting linalg.fill after linalg.init
ClosedPublic

Authored by rsuderman on May 4 2021, 12:43 PM.

Details

Summary

All linalg.init operations must be fed into a linalg operation before
subtensor. The inserted linalg.fill guarantees it executes correctly.

Diff Detail

Event Timeline

rsuderman created this revision.May 4 2021, 12:43 PM
rsuderman requested review of this revision.May 4 2021, 12:43 PM
mravishankar accepted this revision.May 4 2021, 1:43 PM
This revision is now accepted and ready to land.May 4 2021, 1:43 PM
rsuderman updated this revision to Diff 342863.May 4 2021, 2:21 PM

Fixed tosa-to-linalg-on-tensors test

This revision was landed with ongoing or failed builds.May 4 2021, 2:32 PM
This revision was automatically updated to reflect the committed changes.