This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Remove zero-fill of tosa.concat outputs when lowering to linalg.
ClosedPublic

Authored by benvanik on Nov 14 2022, 10:19 AM.

Details

Summary

Since all output elements are known to be overridden by construction the fill is not required. This change makes the tosa lowering consistent with the MHLO and Torch lowerings of concat which do not do the fill.

Diff Detail

Event Timeline

benvanik created this revision.Nov 14 2022, 10:19 AM
benvanik requested review of this revision.Nov 14 2022, 10:19 AM
rsuderman accepted this revision.Nov 14 2022, 10:21 AM
This revision is now accepted and ready to land.Nov 14 2022, 10:21 AM