[all-commits] [llvm/llvm-project] 08574c: [mlir][tosa] Add clamp + clamp as single clamp can...

not-jenni via All-commits all-commits at lists.llvm.org
Fri Jan 21 16:27:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08574ce4d6254edf857cd374b54eca71dd2710f6
      https://github.com/llvm/llvm-project/commit/08574ce4d6254edf857cd374b54eca71dd2710f6
  Author: not-jenni <jennik at google.com>
  Date:   2022-01-21 (Fri, 21 Jan 2022)

  Changed paths:
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tosa] Add clamp + clamp as single clamp canonicalization

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

Reviewed By: rsuderman

Differential Revision: https://reviews.llvm.org/D117934




More information about the All-commits mailing list