<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/111876>111876</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
lld fails to handle predicated add instructions w/GOT_16_X relocation
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:Hexagon,
lld:ELF
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
androm3da
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
androm3da
</td>
</tr>
</table>
<pre>
```
$ echo 'if (p0) r0 = add(r0,##bar@GOT)' | llvm-mc -triple=hexagon -filetype=obj -o out.o
$ ld.lld -shared out.o -o out.so
ld.lld: error: unrecognized instruction for 16_X type: 0x7400C000
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMkUFvnD4QxT_NcLF2NR5ggYMP-8_-SQ-Vcsmht8jgYXHqxcg2adJPXxHYppJlWzNPenq_p2O014lZQfkfEOnJBH_LjQYiKC-ZXtLog_o7zjpvPhSccD94ATwDFYL70Qugyg4CqJ4RqBEBBeQXoY0BqgMCPQDlQHmnAxT4-PQM1ABVAqoH4dzb7XDrxSEFOzuG_DLyu776SRwG6zh9zOvMd6_i4IVf0tF_eTtzdM6IQxx1YLNt77K46zYN5GfBIfiwfpYpcO-vk_3NRtgpprD0yfpJDD4IeXr5ITbXs8D3qkB8QLwH3u47hcyo3DR5ozNWsqK6rKWUmI2qlKix4EHrSmNHZTlgiabgWtdNp43JrCKkQqJEWVGJzTHv-xNV9VB3Q5M3rKFAvmnrjiufow_XzMa4sJJS1tUpc7pjF_fuOt3_5GnN-G1Dt3a4Mqct-f_f273VoD5xd8s1QoHOxhS_DJJNjtUKdNDWRZG8GPVkHIs5sLG9TmzWTv9FFsUvoPbx6fnlk1tg53u9LrIlODWmNEfIz0AtUHu1aVy6Y-9vQO3quj-HOfhX7hNQ-5kxArV7zDdFfwIAAP__xwXPVA">