[all-commits] [llvm/llvm-project] 79df1c: [mlir][tosa] Fix merge problems with mul shift (#1...

Tai Ly via All-commits all-commits at lists.llvm.org
Thu Jan 30 19:59:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79df1c3c41ccf564b3b9c1a6c227417ffd80f6eb
      https://github.com/llvm/llvm-project/commit/79df1c3c41ccf564b3b9c1a6c227417ffd80f6eb
  Author: Tai Ly <tai.ly at arm.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOpBase.td
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaReduceTransposes.cpp
    M mlir/test/Dialect/Tosa/invalid.mlir
    M mlir/test/Dialect/Tosa/ops.mlir

  Log Message:
  -----------
  [mlir][tosa] Fix merge problems with mul shift (#125129)

This patch fixes merge issues in TosaOpBase.td and TosaOps.td wrt traits
on tosa elementwise ops and multiply op which, with the optional shift
operand, is no longer strictly an elementwise op.

fixed up inferReturnTypeComponents to be based on only the first two
operands (ie, ignoring shift, if present)

also fixed up TosaReduceTransposes to special handle tosa mul op now
that it is not an elementwise op.

Signed-off-by: Tai Ly <tai.ly at arm.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list