[all-commits] [llvm/llvm-project] f1b922: [MLIR][Math] Add erf to math dialect

Sean Silva via All-commits all-commits at lists.llvm.org
Mon Oct 25 11:30:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1b922188ead5ca492c8d8edd47921b013a22ae0
      https://github.com/llvm/llvm-project/commit/f1b922188ead5ca492c8d8edd47921b013a22ae0
  Author: Boian Petkantchin <boian at nod-labs.com>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Math/IR/MathOps.td
    A mlir/include/mlir/Dialect/Math/Transforms/Approximation.h
    M mlir/lib/Conversion/MathToLibm/MathToLibm.cpp
    M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
    M mlir/test/Conversion/MathToLibm/convert-to-libm.mlir
    M mlir/test/Dialect/Math/ops.mlir
    M mlir/test/Dialect/Math/polynomial-approximation.mlir
    M mlir/test/mlir-cpu-runner/math_polynomial_approx.mlir
    M mlir/utils/vim/syntax/mlir.vim

  Log Message:
  -----------
  [MLIR][Math] Add erf to math dialect

Add math.erf lowering to libm call.
Add math.erf polynomial approximation.

Reviewed By: silvas, ezhulenev

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




More information about the All-commits mailing list