[all-commits] [llvm/llvm-project] f243f7: [mlir][tosa] Fold consecutive negate as no-op

Kai Sasaki via All-commits all-commits at lists.llvm.org
Mon May 15 18:16:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f243f74602961529a8e08b3cecd0e6062b5395c5
      https://github.com/llvm/llvm-project/commit/f243f74602961529a8e08b3cecd0e6062b5395c5
  Author: Kai Sasaki <lewuathe at gmail.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
    M mlir/test/Dialect/Tosa/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tosa] Fold consecutive negate as no-op

Consecutive element-wise negate should be canonicalized as no-op.

Reviewed By: eric-k256

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




More information about the All-commits mailing list