[all-commits] [llvm/llvm-project] 2eb50c: [mlir][tosa] Use arith::maxf/arith::minf in loweri...

Thomas via All-commits all-commits at lists.llvm.org
Mon Aug 8 18:13:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2eb50cee11ccbfac71eeb7687b9f136d95fc7f52
      https://github.com/llvm/llvm-project/commit/2eb50cee11ccbfac71eeb7687b9f136d95fc7f52
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/Utils/CoversionUtils.h
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir

  Log Message:
  -----------
  [mlir][tosa] Use arith::maxf/arith::minf in lowering from tosa

now that `arith` dialect has maxf/minf use it instead of cmp/select.
Also refactor clamp helpers to make them simlper.

Reviewed By: rsuderman

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




More information about the All-commits mailing list