[all-commits] [llvm/llvm-project] 107ca6: [mlir][tosa] Support RescaleOp with dynamic extens...

ShivaChen via All-commits all-commits at lists.llvm.org
Mon Oct 13 19:10:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 107ca636352bcf31535924fa03df2852b70d0af3
      https://github.com/llvm/llvm-project/commit/107ca636352bcf31535924fa03df2852b70d0af3
  Author: ShivaChen <32083954+ShivaChen at users.noreply.github.com>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

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

  Log Message:
  -----------
  [mlir][tosa] Support RescaleOp with dynamic extension in TosaToLinalg (#155967)

The shift, multiplier, inputZp, and outputZp can be either constant or
non-constant, depending on whether dynamic extension is enabled.

When these values are non-constant, they are added as inputs to
linalg::GenericOp, and corresponding affine maps are appended to the
indexingMaps.

The commit help to pass following Tosa conformance tests.
rescale_22x20_i32_outi8_sc0_rmS_pc0_iu0_ou0_dyn
rescale_31x18_i8_outi8_sc0_rmS_pc0_iu1_ou0_dyn
rescale_20x19_i16_outi8_sc0_rmS_pc0_iu1_ou0_dyn



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