[Mlir-commits] [mlir] [mlir][spirv] Add 6 Element Binary operators to TOSA Ext Inst Set (PR #179627)
Davide Grohmann
llvmlistbot at llvm.org
Thu Feb 12 03:35:55 PST 2026
================
@@ -431,3 +431,25 @@ spirv.ARM.Graph @clamp_max_val_different_element_type_wrt_input_output(%arg0: !s
%3 = spirv.Tosa.Clamp min_val = -102 : i8, max_val = -100 : i16, nan_mode = <Propagate>, %arg0 : !spirv.arm.tensor<27x44x55xi8> -> !spirv.arm.tensor<27x44x55xi8>
spirv.ARM.GraphOutputs %3 : !spirv.arm.tensor<27x44x55xi8>
}
+
+//===----------------------------------------------------------------------===//
+// spirv.TOSA.Add
----------------
davidegrohmann wrote:
I can repeat the same test for each op but they will be basically exercise the same checks that will be shared.
Happy to have very extensive negative testing if that is required.
https://github.com/llvm/llvm-project/pull/179627
More information about the Mlir-commits
mailing list