[all-commits] [llvm/llvm-project] 57e194: [mlir] Add support for non-f32 polynomial approxim...

Rob Suderman via All-commits all-commits at lists.llvm.org
Mon Mar 27 14:59:01 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57e1943e8f8f1b28460678d1c25eaa36ba09b59b
  Author: Robert Suderman <suderman at google.com>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
    M mlir/test/Dialect/Math/polynomial-approximation.mlir

  Log Message:
  [mlir] Add support for non-f32 polynomial approximation

Polynomial approximations assume F32 values. We can convert all non-f32
cases to operate on f32s with intermediate casts.

Reviewed By: jpienaar

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

More information about the All-commits mailing list