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

Jianjian Guan via All-commits all-commits at lists.llvm.org
Tue Sep 6 19:54:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3434a862797e74b0b54559366eaaeb137fa2ff7
      https://github.com/llvm/llvm-project/commit/e3434a862797e74b0b54559366eaaeb137fa2ff7
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-09-07 (Wed, 07 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
    M mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir

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

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

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




More information about the All-commits mailing list