<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/70071>70071</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] implement clamp intrinsic
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
Implement and expose the HLSL `clamp` intrinsic:
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-clamp
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxU0MGK3iAQB_Cn0UtIMEaTz4OHliW0sLc-wUQnicVoUNPd9umL4WuXBUFHcPzPD3J2W0DURH4l8oXCVfaYtPe_jnZBCH_oEu1v_f04PR4YSgPBNvh-xoxN2bH59vrjtSEjMx6Ok4yscaEkF7IzZPhCWF17KWeuFZ8Jnz1CCt3hTIo5rqUz8SB8xtBemfD5zQUb356ngRM-W5fQlMHuPvtavrdbgnN3Jrf1qr0_plYPVg0KKOp-VI9-VEJNdNeCWbsuFhe0o0IwIGBFKR6sZyAHy6nTnPGhZ1z0kxBy6liPTMmHHNHA-gBFBMMDnO8qSRfTRl3OF-qJsamnHhb0-cbjvFoQzivjP8Fry0Qw73LJHw2KK_4Gvx_Il8b9172n-TCkV_L6s9_myn4tT7ba8rm1Z4o_0RTC5ztgNbwz_g0AAP__DOubuw">