<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59580>59580</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
-fwrapv is not effectively with O2 .
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
UmeshKalappa0
</td>
</tr>
</table>
<pre>
The following case https://godbolt.org/z/zr9Mj9419 ,we aware that that line:137 exploit the UB and we want compiler optimizations honor the fwrap option here.
On early investigate we see that EarlyCSE altering the CFG here .
before we investigate this case ,we would like to hear from the community here .
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckkuOnDAQhk9jNqVB2DTQLFjMiyyiaBbJHKCAAntibGQXTXpOH0G3lFEWLkv-XZ_-emCMZnJEjSieRPGS4Mrah-Z9pqi_o8VlwSzp_HBtfmmC0VvrN-Mm6DESaOYlivxRqFaodvJD5y2nPkxCtZ_7CfWPj_okaxDqeSPADQMBa-RbsMaRyB9lXgH9Waw3-zvB-xOgG2Aj2NAx9H5ejKUAfmEzm09k410E7Z0Px38Yt4DLIXsHmgKlILIXkT3e4psDwmCvYNyFIpsJmXZ6pLuZ1119_vkKaJnCXt6OfW6_HTBIv8I6Gn040r_SWJt468mt0s2vdgBrfhOwB00YYAx-Pri9n-fVGb7e6cnQ5EOd15hQI8tKnvJMVVWimzI7d0RVgeeTHLsir6sacRxGlVXdWOWUmEZlSkkl66yUUpZpl-cVnuuqLLpCyqIUp4xmNDa19jLvg0lMjCs1RV2cs8RiRzYek1fK0QaHKJTaFyE0e85Dt05RnDJrIsd_FDZsqXk4-n4BE8F5BhpH6tlcyF5hM6zhTUGarME2_-2JYb12ae9nododeb8eluA_qGeh2sNIFKo9jP4NAAD__8Pb3qo">