[all-commits] [llvm/llvm-project] 58901a: [mlir][tosa] Correct tosa.avg_pool2d for specifica...

rsuderman via All-commits all-commits at lists.llvm.org
Mon Oct 25 14:42:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58901a5a295dfba7d5e264d725f246dd4bfe6946
      https://github.com/llvm/llvm-project/commit/58901a5a295dfba7d5e264d725f246dd4bfe6946
  Author: Robert Suderman <suderman at google.com>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    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] Correct tosa.avg_pool2d for specification error

Specification specified the output type for quantized average pool should be
an i32. Only accumulator should be an i32, result type should match the input
type.

Caused in https://reviews.llvm.org/D111590

Reviewed By: sjarus, GMNGeoffrey

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




More information about the All-commits mailing list