HomePhabricator

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

Authored by rsuderman on May 4 2021, 2:21 PM.

Description

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

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

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D101848