[all-commits] [llvm/llvm-project] 2778d9: [TOSA] tosa.negate operator lowering update (#107924)

Dmitriy Smirnov via All-commits all-commits at lists.llvm.org
Tue Sep 10 02:47:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2778d9d63bcb6eb7d58bbab1131b4e711c1f60c4
      https://github.com/llvm/llvm-project/commit/2778d9d63bcb6eb7d58bbab1131b4e711c1f60c4
  Author: Dmitriy Smirnov <dmitriy.smirnov at arm.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

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

  Log Message:
  -----------
  [TOSA] tosa.negate operator lowering update (#107924)

This PR makes tosa.negate op for integer types to use the simplified
calculation branch if input_zp and output_zp values are also zero.

Signed-off-by: Dmitriy Smirnov <dmitriy.smirnov 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