[all-commits] [llvm/llvm-project] 008ea1: [mlir][Math] Add constant folder for TanhOp.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Tue Aug 2 04:38:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 008ea1c20148008c5a4bd35ce3e35f3d04c3a603
      https://github.com/llvm/llvm-project/commit/008ea1c20148008c5a4bd35ce3e35f3d04c3a603
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-08-02 (Tue, 02 Aug 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 TanhOp.

This patch adds constant folder for TanhOp which only supports single and double precision floating-point.

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




More information about the All-commits mailing list