This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Add clamp + clamp as single clamp canonicalization
ClosedPublic

Authored by not-jenni on Jan 21 2022, 3:27 PM.

Details

Summary

When 2 clamp ops are in a row, they can be canonicalized into a single clamp that uses the most constrained range

Diff Detail

Event Timeline

not-jenni created this revision.Jan 21 2022, 3:27 PM
not-jenni requested review of this revision.Jan 21 2022, 3:27 PM
rsuderman accepted this revision.Jan 21 2022, 4:16 PM
This revision is now accepted and ready to land.Jan 21 2022, 4:16 PM
This revision was landed with ongoing or failed builds.Jan 21 2022, 4:27 PM
This revision was automatically updated to reflect the committed changes.