<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/66396>66396</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
`simplifycfg<switch-to-lookup>` generates wrapping `add nsw`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
djkoloski
</td>
</tr>
</table>
<pre>
[Upstream Rust issue](https://github.com/rust-lang/rust/issues/115681)
This issue has been fixed by #65882. I'd like to merge that change into the `17.x` release branch so I can integrate that fix into Rust. A local cherry-pick succeeded cleanly.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8ksGOpCwUhZ8GNzcaREVduOj_76mkt5OZB0C4Cl0IhotTXW8_saqSyWxmAyRwDrnfOYrIrQFxYt1_rHsv1JFtTJP5vEYf6eqKOZr7eflzp5xQbfD9oAyO6EDWvTMx2Jx3Ys0bExcmLqvL9pgrHTcmLumgXHoV1teZictDSExc6rqTQ83EyPg742_P9Yd19PQGqwhmxACL-0ID8x2YaGQ3DKKCDyZ6A95dEXKEDdOKkK3KoK0KK4ILOUK2CEzyuq--mOSQ0KMihDmpoC1QhA_QKpxvcU0qvxwW9_WUn2NW8AY-auVBW0zpXu5OX4EOrRENGtAeVfD3qjBTY8ZmVAVOtRzbng-Sy8JOTd21o1RiNn1rdKc5ykGqRbfjjINslsJNgouGj3VbS9GIttJCK15zLcZ-Nv2gWMtxU85X3v_aqpjW4oFnkrIZZeHVjJ4e2QkR8PbKRYgzyjSdmnI-VmIt944y_XHJLnucmOTktt275a6XlTX_081lbcscSx_j9dhZ8-2Et2LAkxHBLal9d2E90SpjINCNSV4cyU__KML57Wsr9xQ_Uf_VhccwvwMAAP__2l7R8Q">