[all-commits] [llvm/llvm-project] b926cf: [mlir][tosa][spirv] Lower TOSA elementwise ops to ...

Davide Grohmann via All-commits all-commits at lists.llvm.org
Wed May 27 00:10:25 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b926cf7da0918686f4bcb4e16f3066aca22ae1e6
      https://github.com/llvm/llvm-project/commit/b926cf7da0918686f4bcb4e16f3066aca22ae1e6
  Author: Davide Grohmann <davide.grohmann at arm.com>
  Date:   2026-05-27 (Wed, 27 May 2026)

  Changed paths:
    M mlir/include/mlir/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosa.h
    M mlir/lib/Conversion/TosaToSPIRVTosa/CMakeLists.txt
    A mlir/lib/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosaOps.cpp
    M mlir/lib/Conversion/TosaToSPIRVTosa/TosaToSPIRVTosaPass.cpp
    A mlir/test/Conversion/TosaToSPIRVTosa/tosa-to-spirv.mlir

  Log Message:
  -----------
  [mlir][tosa][spirv] Lower TOSA elementwise ops to SPIR-V TOSA (#199505)

Add conversion patterns for simple TOSA elementwise operations to the
SPIR-V TOSA dialect.

The lowering covers unary and binary elementwise ops with shared pattern
templates, plus min/max handling for NaN propagation mode.

Add focused conversion tests that check the generated SPIR-V TOSA ops.

Signed-off-by: Davide Grohmann <davide.grohmann 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