[all-commits] [llvm/llvm-project] 71e52a: [mlir][Math] Add constant folder for SinOp.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Thu Sep 15 23:30:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71e52a125cb5f532192c40cf13692c18ede18cb4
      https://github.com/llvm/llvm-project/commit/71e52a125cb5f532192c40cf13692c18ede18cb4
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-09-16 (Fri, 16 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 SinOp.

This patch adds constant folder for SinOp by using sin/sinf of libm.

Reviewed By: ftynse

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




More information about the All-commits mailing list