<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/106946>106946</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Backport "[AVR] Fix 16-bit LDDs with immediate overflows (#104923)"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tronje
</td>
</tr>
</table>
<pre>
/cherry-pick c7a4efa4294789b1116f0c4a320c16fcb27cb62c
I initially spotted and reported the bug here: https://github.com/Rahix/avr-hal/issues/573
Thanks to @Patryk27 there's a fix that has even been merged already, but I really need this to make its way into a Rust toolchain :slightly_smiling_face:
So I did some digging and basically copied #106728 and am hereby requesting a backport of this into the release branch. Hope I'm doing this right! Thanks!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kk-vqzYQxT-N2YwSmYHwZ8Eit1HUK3VR3VbdPg32gP1icGqb3JtvX-G8ql29DQiZM-fMz4ditPPKPIjTmzhdCtqS8WFIwa_fuRi9fg4Cr8pwCM_D3aobqJZqnqjGvm67fizLspmkqqlCqcpmUiO2amxQCXkR8vx6voNdbbLk3BPi3afEGmjVEPjuw_6RDMO4zWA4sKjOYFK6R1GdBV4FXmebzDYelV8EXj_I2C-BV3qEgyEn8Gpj3DgKvJ7a6uX3p6H1FiF5ELX8nVJ43rDdTQILbCMQTPYLkqEEhiLwg1cYmVdYOMx7NheY9FPgLzBuCd4hcM6-cs5q8-iFbgw2RfikJ9g1eSD42GKC5L1ThuwKojpHZ2eT3PNbXKyz6_xtIpVXfCX9w8M7aKsh-oVB23m265zZjBStyq7K3y1rEFiVsmmxy8e0ZFjjEwL_vXFMWQcjqdvOFPz0CpqD7XgDO6bIMAZalTnCr_7O8C6wXUD7XZx_D3tagSW8EAosCz1Uuq96KngoWzxhc0J5Ksyge9Woqe46mlgqlJpJV53mqZddO6mpsANKrGUvUXYo5emIPU99g1piPU1TR6KWvJB1R-cey9GHuchXOZSy6eumcDSyi7mZiCt_Qj4ViHtRw7CLDuM2R1FLZ2OK_41JNjke3v5lkSVv578-xOkCV_sFZXMYbYLfLpcInzYZsMvC2lJi8A8Ok_OfEQR2GXndYyWwF4jFFtzwk2ru_j9eh3vw31ml_9fzx1qPAf8JAAD__2iWHv4">