[Mlir-commits] [mlir] [mlir][spirv] Add first 7 elementwise unary ops in TOSA Ext Inst Set (PR #185885)
Jakub Kuderski
llvmlistbot at llvm.org
Wed Mar 11 07:06:37 PDT 2026
================
@@ -1483,4 +1511,172 @@ def SPIRV_TosaTableOp : SPIRV_TosaOpWithResult<"Table", 30, [NoMemoryEffect,
}
+def SPIRV_TosaAbsOp : SPIRV_TosaElementwiseUnaryOp<"Abs", 31, [NoMemoryEffect]> {
+ let summary = "Absolute value operation.";
+
+ let description = [{
+ Elementwise Absolute value operation. Input and Output types must match.
----------------
kuhar wrote:
I don't see a verifier for types matching?
https://github.com/llvm/llvm-project/pull/185885
More information about the Mlir-commits
mailing list