[all-commits] [llvm/llvm-project] 0e02bf: [mlir][Arithmetic] fold overlapping negf.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Thu May 19 19:05:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e02bf635821be8deb2e8094706198838e45e968
      https://github.com/llvm/llvm-project/commit/0e02bf635821be8deb2e8094706198838e45e968
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-05-20 (Fri, 20 May 2022)

  Changed paths:
    M mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
    M mlir/test/Dialect/Arithmetic/canonicalize.mlir

  Log Message:
  -----------
  [mlir][Arithmetic] fold overlapping negf.

This patch folds negf(negf(x)) to x.

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




More information about the All-commits mailing list