When the min/max are the total range of the value, it is a no-op as the values are already restricted to that range.
Details
Details
Summary
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This revision is now accepted and ready to land.Jan 18 2022, 11:02 PM
This revision was landed with ongoing or failed builds.Jan 18 2022, 11:18 PM
Closed by commit rG41d05e29c04f: [mlir][tosa] Add tosa.clamp as no-op canonicalization (authored by not-jenni, committed by rsuderman). · Explain Why
This revision was automatically updated to reflect the committed changes.
clang-format: please reformat the code