<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/81952>81952</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Backport feee627974df81e4cbf15537e4c4688aed66b12f to release/18.x
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:RISC-V,
release:backport
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
topperc
</td>
</tr>
</table>
<pre>
I'm not sure if it's possible to hit the bug without `-riscv-enable-sink-fold`, but I thought it best to backport to be safe.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxEkEGP2yAQhX8NviBbMAZDDhyyWVnKtZV6B3uw6RJjAd62_75y2mhPM9KM3nvfs6WEZUM0RL4R-d7Yo64pm5r2HfPUuDT_MXcC6kG3VGk5MtLgaagEVKF7KiW4iLQmuoZK64rUHQv9FeqajkrJwNocyvTZ4mZdxLaE7aP1Kc5kYARu1B2V3un5vKyVhkodlnqqOTt97Cn_25EW67FrZtPPl_5iGzRcMc1ErxVvVqO0HcTM5ODZxCfPtXSIl0lra50VTjfBAAPBgA-M9UryTjIHwETvlfLScUkEw4cNsYvx89GlvDShlAON5hcJTbQOY3k2BHAmw20m_fXb_fut_UEACNwIQMaItiDpr6_w50m-N9mcqq07lkIEi6HU8uVTQ41o3l64HhEHUBclZq85isl5LmWvUExi0NriPAyOgz97eRnCyHX3uzlyNGuteyH9lcBIYFxCXQ_XTelBYDwd_492z-knTpXA-MQsBMYn6d8AAAD__2SIpsc">