[all-commits] [llvm/llvm-project] f1033a: [mlir][Math] Add constant folder for TanOp.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Mon Aug 1 20:21:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1033a3f47da1bdd757bf596fee8bdaa64dfe925
      https://github.com/llvm/llvm-project/commit/f1033a3f47da1bdd757bf596fee8bdaa64dfe925
  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 TanOp.

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

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




More information about the All-commits mailing list