[all-commits] [llvm/llvm-project] a5f0b2: [mlir][tosa][fix] Add proper type checking trait f...

TatWai Chong via All-commits all-commits at lists.llvm.org
Fri Jul 21 16:40:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5f0b237be7f2d50efdccd8d6a95edd05c8fd52f
      https://github.com/llvm/llvm-project/commit/a5f0b237be7f2d50efdccd8d6a95edd05c8fd52f
  Author: TatWai Chong <tatwai.chong at arm.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
    M mlir/test/Dialect/Tosa/constant-op-fold.mlir
    M mlir/test/Dialect/Tosa/ops.mlir

  Log Message:
  -----------
  [mlir][tosa][fix] Add proper type checking trait for tosa mul

when operating integer type tensors, tosa elementwise multiplication
requires the element type of result to be a 32-bit integer rather
than the same type as inputs.

Change-Id: Ifd3d7ebd879be5c6b2c8e23aa6d7ef41f39c6d41

Reviewed By: mgehre-amd

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




More information about the All-commits mailing list