<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/88045>88045</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL][SPIR-V] Add spv any intrinsic and lowering
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL,
backend:SPIR-V
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
farzonl
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
farzonl
</td>
</tr>
</table>
<pre>
Add an intrinsic like this one from https://github.com/llvm/llvm-project/blob/1e6ce5e284f5c0e8d64eee21af727bb164eb3caf/llvm/include/llvm/IR/IntrinsicsDirectX.td#L24
to
https://github.com/llvm/llvm-project/blob/1e6ce5e284f5c0e8d64eee21af727bb164eb3caf/llvm/include/llvm/IR/IntrinsicsSPIRV.td#L59
update the any.hlsl unit tests:
https://github.com/llvm/llvm-project/blob/1e6ce5e284f5c0e8d64eee21af727bb164eb3caf/clang/test/CodeGenHLSL/builtins/any.hlsl#L4
and implement the `OpAny` Lowering:
https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpAny
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMk09r3DoUxT-NvBEx0vWfsRdeTDL4vcDAeyQQutWf67EajWQkOWX66YucGZIuuuimdCMbGZ_7O0c6IkZzcogDae4JwCTCd-8sASDNoRBrmn0YrpuF9Poy7LWmwlHjUjAuGkWteUWaZhOpd0in4M90TmmJpNoTGAmMJ5PmVZbKnwmM1r7dHndL8F9RJQKjtF4SGDm2ChuErp4axbDTbY2IwMW0g52UvK1RVkpMHzrGKbtq_Nh4fMrLDS4eTECVvpRJE6iOUBN2IGz_viZP31_-Htzn_x-fXq6wTf8Zdl20SDlnpMJdytlGS1dnEk0Y0wb_p6woK9yJwJgHExgfvMZ_0P17fD5mudXYZFwkMN4ws5efchdOU3NeLJ7Rpc0Radl_y95dSMvo0X_DYNzpF5YCnkxM4VK-zsE7H0sfMkwO7u6FwBgXVHn66sxkUPPrt5dyTueMss0p9FDpvupFgQPfcWg539WsmAe-g77reTW1teJVW-8kb6cGZNWqlveSF2YABjWrWQccesZKIWFqq0n2XaVbiQ2pGZ6FsWXOOcMVJsYVh65jdVNYIdHGa9feIwMCDwRACvWKTpNqf7OyNTAM23nJ9RRJzayJKX4oJ5PsVtxNqTmQ5v76c3OgNBc1Lm_5unxqaw7fXiMu1mCH374xm58c8WbpRwAAAP__F_5VKA">