Skip to content

Commit 93aaad6

Browse files
vmaksimosys-ce-bb
authored andcommitted
Support OpPtrEqual, OpPtrNotEqual and OpPtrDiff to compare pointers (#2482)
This addresses p.2 and p.3 of #2460 Original commit: KhronosGroup/SPIRV-LLVM-Translator@4b4508438a6dfe5
1 parent b13dd93 commit 93aaad6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm-spirv/lib/SPIRV/libSPIRV/SPIRVOpCodeEnum.h

+3
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ _SPIRV_OP(GroupNonUniformBitwiseXor, 361)
329329
_SPIRV_OP(GroupNonUniformLogicalAnd, 362)
330330
_SPIRV_OP(GroupNonUniformLogicalOr, 363)
331331
_SPIRV_OP(GroupNonUniformLogicalXor, 364)
332+
_SPIRV_OP(PtrEqual, 401)
333+
_SPIRV_OP(PtrNotEqual, 402)
334+
_SPIRV_OP(PtrDiff, 403)
332335
_SPIRV_OP(CopyLogical, 400)
333336
_SPIRV_OP(PtrEqual, 401)
334337
_SPIRV_OP(PtrNotEqual, 402)

0 commit comments

Comments
 (0)