<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/87485>87485</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[X86] LowerTRUNCATE - use the NSW/NUW flags to simplify lowering to PACKSS/PACKUS nodes
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:X86
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
RKSimon
</td>
</tr>
</table>
<pre>
Initial tests added at 2bf7ddf06f773277fcfef58a3cd8c32a161ce36a
Hopefully we can update matchTruncateWithPACK to handle this, PACKSS at least shouldn't be a problem to match to NSW.
CC @elhewaty
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMkc9u2zAMxp9GvhANbEr-k4MPWTpjQ4diaFp0V1qibW2yZVjygrz9oHTAdpEIgh_J70cKwY4LcyvKT6J8zGiPk9_al6eLnf2S9d7c2q-LjZYcRA4xABnDBigC9kNtzJBXQ11LrOtBDzyUDUltGi2RiqrQLCsS-aPITx_vF7_ysDt3gyuDpgX21VBkmCnq6XXbF02R322cvp_OTxA9TLQYxxAnGwSeIaUvlzTdMYUIYfK7M4vAOkLPQLBuvnc8J-m9ZwqeL--H_5c4n0GonN3EV4o3yEwrzVEeKeO2qAssVN3kZTa1pAZVYaVy1vpIpTSMfXHMURVKmb7CzLaYo8pVLguUlSoPZGpCOUgpazTmiGnMTNYdnPs9H_w2ZjaEndumVk2ZOerZhTt5xJ70L16MkKcfTSUQ0zG2Nuke-n0MQuXOhhj-dYo2uvvZUn35CN_8lbfXl7fn8-n1MzzAHhI2Tu4Fds9v7zA4GkMCEuy8OjvcwCWNXcaU_EArsEvB2wUWbzhk--baKcY1CHkS2AnsRhunvT9oPwvs0jZ_v4d18z9ZR4Hd3WQQ2N19_gkAAP__qFfAYw">