This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Updates tosa.logical_not to use the SameOperandsAndResultType trait
ClosedPublic

Authored by not-jenni on Aug 9 2022, 7:21 AM.

Diff Detail

Event Timeline

not-jenni created this revision.Aug 9 2022, 7:21 AM
Herald added a project: Restricted Project. · View Herald Transcript
not-jenni requested review of this revision.Aug 9 2022, 7:21 AM

Is this due to shape mismatches?

Is this due to shape mismatches?

This is useful so that the return type does not need to be specified when creating a tosa.logical_not op in PDLL

jpienaar accepted this revision.Aug 9 2022, 9:25 AM

Ug, sorry read on mobile first and read the not as removing the trait and I couldn't figure out why.

This revision is now accepted and ready to land.Aug 9 2022, 9:25 AM

Remove a test for inferring shapes with logical_not as it is no longer needed