[Mlir-commits] [mlir] [mlir][spirv] Add common SPIRV Extended Ops for Vectors (PR #122322)
Jakub Kuderski
llvmlistbot at llvm.org
Wed Jan 15 17:59:26 PST 2025
================
@@ -2094,3 +2094,41 @@ LogicalResult spirv::VectorTimesScalarOp::verify() {
return emitOpError("scalar operand and result element type match");
return success();
}
+
+//===----------------------------------------------------------------------===//
+// spirv.GLDistanceOp
+//===----------------------------------------------------------------------===//
+
+LogicalResult spirv::GLDistanceOp::verify() {
----------------
kuhar wrote:
`vector.reduction` has similar verification rules: https://github.com/llvm/llvm-project/blob/c805df69994a1f1e8f095b690c9af9e9c463906b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td#L217-L222
https://github.com/llvm/llvm-project/pull/122322
More information about the Mlir-commits
mailing list