[all-commits] [llvm/llvm-project] b67880: [MLIR][TOSA-Linalg] Fix rescale lowering for unsig...

RoboTux via All-commits all-commits at lists.llvm.org
Tue May 6 13:13:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b67880d8755bef5505a98cadbb48c4aad8b4c115
      https://github.com/llvm/llvm-project/commit/b67880d8755bef5505a98cadbb48c4aad8b4c115
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
    M mlir/test/Dialect/Tosa/invalid.mlir

  Log Message:
  -----------
  [MLIR][TOSA-Linalg] Fix rescale lowering for unsigned input zp (#138313)

Lowering of tosa.rescale to Linalg unconditionally sign-extend the input
zero-point value, even when unsigned_input is true. This commit refactor
zeropoint handling to share the same logic between input and output
zeropoint.



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