<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/112870>112870</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Can't convert from float to _Float16 on windows
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          StreetwareGames
      </td>
    </tr>
</table>

<pre>
    Getting this error:
`lld-link: error: undefined symbol: __truncsfhf2`

That said, it does work if the target architecture has float -> float16 conversion instructions. But when it's not available the compilation/linking fails.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxEkcuS2ywQhZ8Gbbqs4qLrgoVn5tc8wJ-9C4mWRAaBC1pWzdun5DjJBigaus_5jsnZLQFRs_qN1R-F2WmNSf9PCZEOk_DTbJiLMdpv_YlELixAq8uAKcXE1JXxD8avrOHe24t34Yup698i7MHi7AJayN_bGP15d7tR2sOU53WWrOGvBs_1x2oIsnGWyXdwBDZihiOmL3Az0IpAJi1IYNK0OsKJ9oSwmgyzj4bgwtR_v4-igSmGB6bsYgAXMqV9IhdDLuFtJzhWDOCIyTZDiATmYZw3o8fnlClud-fN-Z7J4TR12p6N87ksrFa2V70pUItW9rKqa8GLVfeNspWZVa_a3jY9Ct6LRk191YwN2q4qnJZcVoKLjvd1p3gp68q2SijBW9H0XccqjptxvvT-sZUxLYXLeUcthOxaXngzos_PoKQMeMCzyqQ8c0v6_HQZ9yWzinuXKf9rQ4486ncTmGzpBYZgTnF7gaMIt-HFLQY4XLDxyMWevF6J7vnMWQ5MDoujdR_LKW4nGP_4s13uKf7EiZgcnqoyk8NL9kPLXwEAAP__7FDIBg">