<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63986>63986</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AMDGPU] Crash in backend while attempting to codegen builtin memcpy
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:AMDGPU
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jhuber6
</td>
</tr>
</table>
<pre>
The following LLVM-IR crashes with `llc -O3`. The problem is most likely due to the null argument that gets passed to memcpy. See https://godbolt.org/z/svov8z58j for the reduced reproducer.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckU-L2zAQxT-NfBliFMl27IMP2y4uhV1a-u-uPxNLu7JlpFFC9tMXh0ChJ-kw782831M5-3lFHFn7ibXPlSrkYhrfXNGYukpHext_OYRzDCFe_TrDy8uf18PXH2CSyg4zXD05YB0PwcDhm2Qdr2FXbCnqgAv4DEvMBMG_Y7iBLQgUgRzCWkIAleay4EpAThHMSBk2lTPafWrBxWy3Gn4igiPaMpNPTExMTHO0OgaqY5qZmD6YmPIlXvqPtn-Dc0x3_4S2GLSQcEtx_6a6sqO0gxxUheOx64e-b6RsKjf2jTpqZU_96ciVOp1tq4eGd71EPWhzlpUfBReSnwQX_Ni3TS1bI1Byzk2vUKBhDcdF-VCHcFn2uyqfc8Gxk0PfVUFpDPlOWQitzDuulsmnp9fnL99_MyF29mncpQdd5swaHnym_M-MPIV7Sw9J-wyf9wbAr_Dwg6vzAUER4bLR3hVFMNHijCvo4gP59YG0KimM_xH15IquTVyYmPa1j-ewpfiGhpiY7oEyE9M9098AAAD__-hsu7E">