[all-commits] [llvm/llvm-project] 1773dd: [MLIR][Math] Enable constant folding of ops

William Moses via All-commits all-commits at lists.llvm.org
Wed Jan 12 09:19:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1773dddadf5de5ad0477394ac2f308eff38c9978
      https://github.com/llvm/llvm-project/commit/1773dddadf5de5ad0477394ac2f308eff38c9978
  Author: William S. Moses <gh at wsmoses.com>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Math/IR/MathBase.td
    M mlir/include/mlir/Dialect/Math/IR/MathOps.td
    M mlir/lib/Dialect/Math/IR/CMakeLists.txt
    M mlir/lib/Dialect/Math/IR/MathOps.cpp
    A mlir/test/Dialect/Math/canonicalize.mlir

  Log Message:
  -----------
  [MLIR][Math] Enable constant folding of ops

Enable constant folding of ops within the math dialect, and introduce constant folders for ceil and log2

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list