[all-commits] [llvm/llvm-project] c71e48: [mlir][spirv] Add last 6 elementwise unary ops in ...

Davide Grohmann via All-commits all-commits at lists.llvm.org
Thu Mar 12 10:30:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c71e4887479e6ba368f3508e75f75992aba7129c
      https://github.com/llvm/llvm-project/commit/c71e4887479e6ba368f3508e75f75992aba7129c
  Author: Davide Grohmann <davide.grohmann at arm.com>
  Date:   2026-03-12 (Thu, 12 Mar 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTosaOps.td
    M mlir/test/Dialect/SPIRV/IR/tosa-ops-verification.mlir
    M mlir/test/Dialect/SPIRV/IR/tosa-ops.mlir
    M mlir/test/Target/SPIRV/tosa-ops.mlir

  Log Message:
  -----------
  [mlir][spirv] Add last 6 elementwise unary ops in TOSA Ext Inst Set (#186060)

This patch introduces the following elementwise unary operators:

spirv.Tosa.Log
spirv.Tosa.LogicalNot
spirv.Tosa.Negate
spirv.Tosa.Reciprocal
spirv.Tosa.Rsqrt
spirv.Tosa.Sin

Also dialect and serialization round-trip tests have been added.

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