[all-commits] [llvm/llvm-project] 39f5ff: [mlir][tosa] Introduce arith.constant -> tosa.cons...

Vitalii Shutov via All-commits all-commits at lists.llvm.org
Thu Nov 27 07:55:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39f5ff056bc459c7db4d01c348fe78925da8c558
      https://github.com/llvm/llvm-project/commit/39f5ff056bc459c7db4d01c348fe78925da8c558
  Author: Vitalii Shutov <vitalii.shutov at arm.com>
  Date:   2025-11-27 (Thu, 27 Nov 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/Transforms/Passes.td
    M mlir/lib/Dialect/Tosa/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Tosa/Transforms/TosaArithConstantToConst.cpp
    A mlir/test/Dialect/Tosa/tosa-arith-const-to-tosa-const.mlir

  Log Message:
  -----------
  [mlir][tosa] Introduce arith.constant -> tosa.const normalization pass (#168370)

Add a standalone pass that rewrites tensor-valued `arith.constant` ops
into `tosa.const`, normalize the TOSA backend contract.

Signed-off-by: Vitalii Shutov <vitalii.shutov at arm.com>
Co-authored-by: Shubham <shubham 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