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

Jianjian Guan via All-commits all-commits at lists.llvm.org
Mon Jul 25 17:57:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78015047b22dd64f7c647ab7ce04d42e761e7b8f
      https://github.com/llvm/llvm-project/commit/78015047b22dd64f7c647ab7ce04d42e761e7b8f
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-07-26 (Tue, 26 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 Exp2Op.

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

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




More information about the All-commits mailing list