[all-commits] [llvm/llvm-project] dc7f74: [mlir][spirv] Add first 7 elementwise unary ops in...

Davide Grohmann via All-commits all-commits at lists.llvm.org
Wed Mar 11 08:23:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc7f7442f2ca503246302fa1eb8e5867db60c847
      https://github.com/llvm/llvm-project/commit/dc7f7442f2ca503246302fa1eb8e5867db60c847
  Author: Davide Grohmann <davide.grohmann at arm.com>
  Date:   2026-03-11 (Wed, 11 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 first 7 elementwise unary ops in TOSA Ext Inst Set (#185885)

This patch introduces the following elementwise unary operators:

    spirv.Tosa.Abs
    spirv.Tosa.BitwiseNot
    spirv.Tosa.Ceil
    spirv.Tosa.Clz
    spirv.Tosa.Cos
    spirv.Tosa.Exp
    spirv.Tosa.Floor

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