[all-commits] [llvm/llvm-project] f9cefc: [mlir][tosa] Add tosa.max_pool2d as no-op canonica...

not-jenni via All-commits all-commits at lists.llvm.org
Thu Dec 16 15:30:34 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9cefc7b9089bc915121ef5890c641b95cc55819
      https://github.com/llvm/llvm-project/commit/f9cefc7b9089bc915121ef5890c641b95cc55819
  Author: not-jenni <jennik at google.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

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

  Log Message:
  -----------
  [mlir][tosa] Add tosa.max_pool2d as no-op canonicalization

When the input and output of a pool2d op are both 1x1, it can be canonicalized to a no-op

Reviewed By: rsuderman

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




More information about the All-commits mailing list