[all-commits] [llvm/llvm-project] 9c2285: [mlir][Math] Add constant folder for LogOp.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Wed Jul 20 20:03:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c22853ec40a8a464dc00e22b78c73bde8c67b2d
      https://github.com/llvm/llvm-project/commit/9c22853ec40a8a464dc00e22b78c73bde8c67b2d
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-07-21 (Thu, 21 Jul 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 LogOp.

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

Reviewed By: ftynse

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




More information about the All-commits mailing list