Skip to content

Commit 03cd8f2

Browse files
committed
fix distance op typechecking
1 parent 736e5a8 commit 03cd8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Dialect/SPIRV/IR/SPIRVGLOps.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ def SPIRV_GLFMixOp :
10331033

10341034
def SPIRV_GLDistanceOp : SPIRV_GLOp<"Distance", 67, [
10351035
Pure,
1036-
AllElementTypesMatch<["p0", "p1"]>,
1036+
AllTypesMatch<["p0", "p1"]>,
10371037
TypesMatchWith<"result type must match operand element type",
10381038
"p0", "result",
10391039
"::mlir::getElementTypeOrSelf($_self)">

0 commit comments

Comments
 (0)