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

RoboTux via All-commits all-commits at lists.llvm.org
Fri Mar 7 05:27:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e22579a6752801a5d3ced59c7a2e2499d547c657
      https://github.com/llvm/llvm-project/commit/e22579a6752801a5d3ced59c7a2e2499d547c657
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2025-03-07 (Fri, 07 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 (#130282)

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