[all-commits] [llvm/llvm-project] d86ef4: [mlir][tosa] Update tosa.rescale for i48 input type

rsuderman via All-commits all-commits at lists.llvm.org
Fri Jun 4 16:38:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d86ef4364fb50728a2b87ec67bd2714d759f72a4
      https://github.com/llvm/llvm-project/commit/d86ef4364fb50728a2b87ec67bd2714d759f72a4
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-06-04 (Fri, 04 Jun 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaUtilOps.td
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Conversion/TosaToStandard/TosaToStandard.cpp
    M mlir/test/Conversion/TosaToStandard/tosa-to-standard.mlir

  Log Message:
  -----------
  [mlir][tosa] Update tosa.rescale for i48 input type

i48 integers require slightly tweaked behavior, specifically supporting zero
point offsetting with slightly higher bitdepth. Updated results lowering
appropriately.

Reviewed By: NatashaKnk

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




More information about the All-commits mailing list