[all-commits] [llvm/llvm-project] 41d05e: [mlir][tosa] Add tosa.clamp as no-op canonicalization
not-jenni via All-commits
all-commits at lists.llvm.org
Tue Jan 18 23:18:02 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 41d05e29c04fb86a240169c9e10bad629f5897e7
https://github.com/llvm/llvm-project/commit/41d05e29c04fb86a240169c9e10bad629f5897e7
Author: not-jenni <jennik at google.com>
Date: 2022-01-18 (Tue, 18 Jan 2022)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/canonicalize.mlir
Log Message:
-----------
[mlir][tosa] Add tosa.clamp as no-op canonicalization
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.
Reviewed By: rsuderman
Differential Revision: https://reviews.llvm.org/D117625
More information about the All-commits
mailing list