[Mlir-commits] [mlir] [mlir][spirv] Add common SPIRV Extended Ops for Vectors (PR #122322)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jan 17 10:03:06 PST 2025


================
@@ -1031,7 +1031,13 @@ def SPIRV_GLFMixOp :
 
 // -----
 
-def SPIRV_GLDistanceOp : SPIRV_GLOp<"Distance", 67, [Pure]> {
+def SPIRV_GLDistanceOp : SPIRV_GLOp<"Distance", 67, [
+    Pure,
+    AllElementTypesMatch<["p0", "p1"]>,
----------------
mishaobu wrote:

!! Yes....

https://github.com/llvm/llvm-project/pull/122322


More information about the Mlir-commits mailing list