[all-commits] [llvm/llvm-project] 3205ee: [mlir][tosa] Support UInt8 inputs and outputs for ...

rsuderman via All-commits all-commits at lists.llvm.org
Thu Aug 19 18:59:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3205ee7e812fa6d18d68c00f04c1cffef145e279
      https://github.com/llvm/llvm-project/commit/3205ee7e812fa6d18d68c00f04c1cffef145e279
  Author: Rob Suderman <rob.suderman at gmail.com>
  Date:   2021-08-19 (Thu, 19 Aug 2021)

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

  Log Message:
  -----------
  [mlir][tosa] Support UInt8 inputs and outputs for tosa.rescale

Tosa rescale can contain uint8 types. Added support for these types
using an unrealized conversion cast. Optimistically it would be better to
use bitcast however it does not support unsigned integers.

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




More information about the All-commits mailing list