[all-commits] [llvm/llvm-project] 967ab7: [mlir][TOSA] Fix linalg lowering of depthwise conv...

RoboTux via All-commits all-commits at lists.llvm.org
Mon Mar 10 07:49:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 967ab7e08e62a35cc65f34e21fbeb00abf3eb83f
      https://github.com/llvm/llvm-project/commit/967ab7e08e62a35cc65f34e21fbeb00abf3eb83f
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-named.mlir

  Log Message:
  -----------
  [mlir][TOSA] Fix linalg lowering of depthwise conv2d (#130293)

Current lowering for tosa.depthwise_conv2d assumes if both zero points
are zero then it's a floating-point operation by hardcoding the use of a
arith.addf in the lowered code. Fix code to check for the element type
to decide what add operation to use.



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