[all-commits] [llvm/llvm-project] 95e4b7: [mlir][tosa] Fix tosa average_pool2d to linalg typ...

rsuderman via All-commits all-commits at lists.llvm.org
Tue Oct 12 13:11:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95e4b71519e6621a132252b462b9bf9fce63ff61
      https://github.com/llvm/llvm-project/commit/95e4b71519e6621a132252b462b9bf9fce63ff61
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
    M mlir/test/Dialect/Tosa/ops.mlir

  Log Message:
  -----------
  [mlir][tosa] Fix tosa average_pool2d to linalg type issue

Average pool assumed the same input/output type. Result type for integers
is always an i32, should be updated appropriately.

Reviewed By: GMNGeoffrey

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




More information about the All-commits mailing list