[all-commits] [llvm/llvm-project] 46c96f: [mlir][tosa] Fix quantized type for tosa.conv2d ca...

rsuderman via All-commits all-commits at lists.llvm.org
Thu Dec 9 12:46:48 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46c96fca0e793a71198f54ab2196dd2af030de60
      https://github.com/llvm/llvm-project/commit/46c96fca0e793a71198f54ab2196dd2af030de60
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-12-09 (Thu, 09 Dec 2021)

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

  Log Message:
  -----------
  [mlir][tosa] Fix quantized type for tosa.conv2d canonicalization

Wrong type was used for the result type in the tosa.conv_2d canonicalization.
The type should match the result element type should match the result type
not the input element type.

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




More information about the All-commits mailing list