[all-commits] [llvm/llvm-project] 6eebdc: [mlir][Math] Add constant folder for ErfOp.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Sun Sep 18 19:55:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6eebdc46e42e04dc0d88e5203c5bc6a0a37d9d27
      https://github.com/llvm/llvm-project/commit/6eebdc46e42e04dc0d88e5203c5bc6a0a37d9d27
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Math/IR/MathOps.td
    M mlir/lib/Dialect/Math/IR/MathOps.cpp
    M mlir/test/Dialect/Math/canonicalize.mlir

  Log Message:
  -----------
  [mlir][Math] Add constant folder for ErfOp.

This patch adds constant folder for ErfOp by using erf/erff of libm.

Reviewed By: ftynse, Mogball

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




More information about the All-commits mailing list