This is an archive of the discontinued LLVM Phabricator instance.

mlir/tosa: move tosa.pad from Linalg to Tensor conversion
ClosedPublic

Authored by artagnon on Dec 1 2022, 2:57 AM.

Details

Summary

Since tosa.pad is lowered strictly to artih and tensor ops, move
ConvertPad from TosaToLinalg to TosaToTensor, benefitting non-Linalg
Tosa targets. TensorToLinalg exists, and is trivial, so nothing is lost.

Signed-off-by: Ramkumar Ramachandra <r@artagnon.com>

Diff Detail

Event Timeline

artagnon created this revision.Dec 1 2022, 2:57 AM
Herald added a project: Restricted Project. · View Herald Transcript
artagnon requested review of this revision.Dec 1 2022, 2:57 AM
rsuderman accepted this revision.Dec 5 2022, 11:49 AM
This revision is now accepted and ready to land.Dec 5 2022, 11:49 AM
rsuderman requested changes to this revision.Dec 5 2022, 1:14 PM

Please upload a version rebased on the LLVM main branch. Your current version is based on an unknown revision making it impossible to cherry-pick.

This revision now requires changes to proceed.Dec 5 2022, 1:14 PM
artagnon updated this revision to Diff 480333.Dec 5 2022, 10:37 PM

Rebased onto main

This revision was not accepted when it landed; it landed in state Needs Review.Dec 5 2022, 10:40 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.