[all-commits] [llvm/llvm-project] e60941: [mlir][Math] Add more constant folder for Math ops.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Mon Mar 21 19:23:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e609417cdc934c6101ca512b00edcf47d9aa4211
      https://github.com/llvm/llvm-project/commit/e609417cdc934c6101ca512b00edcf47d9aa4211
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-03-22 (Tue, 22 Mar 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 more constant folder for Math ops.

This revision add constant folder for abs, copysign, ctlz, cttz and
ctpop.

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




More information about the All-commits mailing list