[all-commits] [llvm/llvm-project] a7380f: [mlir][tosa] Fold consecutive tosa.abs

Kai Sasaki via All-commits all-commits at lists.llvm.org
Sun May 21 23:11:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7380fb702a69fd9fde3e6ce6107ed11449aa4ff
      https://github.com/llvm/llvm-project/commit/a7380fb702a69fd9fde3e6ce6107ed11449aa4ff
  Author: Kai Sasaki <lewuathe at gmail.com>
  Date:   2023-05-22 (Mon, 22 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 tosa.abs

Consecutive tosa.abs can be fold as single abs operation since the second one has no impact.

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




More information about the All-commits mailing list