<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/138138>138138</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[NVPTX] Backend crash on byval reference to external constant
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:NVPTX
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jhuber6
</td>
</tr>
</table>
<pre>
The following code was regressed since the LLVM 20 release and now crashes in the libc test suite. The reproducer is at https://godbolt.org/z/Pjc4nT88P.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckL1u3DAQhJ-GahYWqNVPpIKFDUOVE7g4GGkpciXxwiMPXOouztMH0hkIkGqbnfkwn2Z2SyBSon0R7Wuht7zGpM7rNlHqiinaT3VaCebofby7sICJluCuGRItiZjJArtgCPJK8Pb28R1QQiJPmgl0sBDiHUzSvBKDC8ebd5OBTJyBN5ephB2R6Jqi3QwlcAw6w5rzlUX9LHAUOC7RTtHnMqZF4PhH4Ph-Nk049f17WVhV26EedEGq-tZ0lew7KYtVDTSbxvTaNHMr60rrAbsZsUONQy-lLJxCia1sZVU1cmiHshsqwsF0skHqKpKikXTRzpfe3y47vHDMG6mq7qu6L7yeyPNhD3HS5hcFK-rnHx_vp58CcVea1B59mraFRSO948z_yrLL_pD_SLSv8PIoeSiDGGD6vGkPiWZKdHiOQL8zpaA9mBg465CLLXn1ny-X120qTbwIHHfe13m6pngmkwWOxxIWOH6NuSn8GwAA__9WbKsI">