[all-commits] [llvm/llvm-project] 4d7d5c: [mlir][Math] Support fold SqrtOp with constant dense.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Tue Jul 12 01:46:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d7d5c5f0025dd9b1f32c30ab473d2095970fd18
      https://github.com/llvm/llvm-project/commit/4d7d5c5f0025dd9b1f32c30ab473d2095970fd18
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

  Changed paths:
    M mlir/lib/Dialect/Math/IR/MathOps.cpp
    M mlir/test/Dialect/Math/canonicalize.mlir

  Log Message:
  -----------
  [mlir][Math] Support fold SqrtOp with constant dense.

This patch uses constFoldUnaryOpConditional to replace current folder in order to support constant dense.

Reviewed By: rriddle

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




More information about the All-commits mailing list