This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][TOSA] Remove ReluN operator from TOSA dialect

Authored by eric-k256 on Jun 27 2022, 2:15 PM.



ReluN has been removed from the TOSA specification. It can be replaced
in all instances with Clamp(0,N)

Signed-off-by: Eric Kunze <>

Diff Detail

Event Timeline

eric-k256 created this revision.Jun 27 2022, 2:15 PM
Herald added a project: Restricted Project. · View Herald Transcript
eric-k256 requested review of this revision.Jun 27 2022, 2:15 PM
jpienaar accepted this revision.Jun 27 2022, 2:19 PM

LG, do you have any pending PRs for downstream users?

This revision is now accepted and ready to land.Jun 27 2022, 2:19 PM

I didn't find any uses of ReluN downstream, it must have been cleaned up already.

Do you need help in landing?

Yes, help landing would be appreciated.

eric-k256 updated this revision to Diff 452297.Aug 12 2022, 1:56 PM

Rebased change

Sorry missed notification earlier (seems I have some filter configuration error as second one this week), will land once at desk

This revision was automatically updated to reflect the committed changes.