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

    <tr>
        <th>Summary</th>
        <td>
            [Attributes] report `musttail` on intrinsic calls
        </td>
    </tr>

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

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

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

<pre>
    [arsenm](https://github.com/arsenm) commented [6 hours ago](https://github.com/llvm/llvm-project/pull/91122#issuecomment-2097851871)
declare range(i64 0, 2) i64 @llvm.llround.f32(float) nounwind readnone
define i64 @testmsxs(float %x) {
entry:
%0 = musttail call i64 @llvm.llround.f32(float %x)
ret i64 %0
}

I'm surprised we allow musttail on intrinsic calls, which aren't really supposed to have ABI
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUks1uqzAQhZ9m2FiNzBhjWLBIbhSpj-HAEFwZG_mnad_-yiRRN1eq7gYwzHxz5nB0jObmiAaQJ5DnSue0-DB8xA9TXf30Xd7rEMmtIM-A3ZLSFkEcAS-Al5tJS74eRr8CXp5l2LPRryu5RBMDeWrZ4nOITN_8rwhrP1-3ty34DxoT4GXL1gJe-rpGBBQmxkzPEW_Ie9XJulM1YA_8DPw40Wh1IBa0uxFgZ9qGccA_DIu2coKGlxEHa4PPbjrMAgG72XqdSonz2d2Nm1ggPTnv6MWdjaMXIFFMa_yKr0YGKL9KN6jTo55cCt9lz_0EKDkDcWZrjilpY9morf1Nzov6YARKjwaU_ElV5-fDfn0HVCuLOWzBRJrYnZi21t9_hnrHjEvBuGjGXUEsztwXMy5MB3KAKpW9rf1mMW-bL5jk2aI_iR1P79U0iKkXva5oqFUteS_bWlTL0My85kKKqcexU4Lj3HLZKdXzBseaj5UZkGPDJVe1xFaKg2zHq5Qz9p0S86gbaDit2tjDboYPt2r_00Nfi0ZVVl_Jxj2miI7ubP8IiCW1Ydgjc823WMw0McUfSjLJ7vk-phTMNSeKIM8s0OZDYtDylznQ8n_4U-Vgh__O7K4u7qkVjfobAAD__01LDlU">