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

William Moses via All-commits all-commits at lists.llvm.org
Tue Jan 11 22:56:00 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f8b956ab6e63e57fbaa60749c9ba7752b071993
      https://github.com/llvm/llvm-project/commit/2f8b956ab6e63e57fbaa60749c9ba7752b071993
  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/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