<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57876>57876</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Only allow 16-bit types for HLSL 2018+ and SM 6.2+
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
16-bit native types were introduced in HLSL 2018 and SM 6.2, so we should enforce those requirements, or at least issue warnings for the language version.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVkcFu4yAQhp_GXEa17HGwnYMPzVbVHrLaQ54Am4nNikDKQKL06Yu9260qIcEw8__6fhi9fgx1-zSaCE5FcyOIjysx3CkQGBeD12kinY_w83g6AlZ1D8ppOP2CtsQCfwD7PA28-GQ1kDv7MGWXxTNBoLdkAl3IRV5HfQAVwZLiCIY5EdxVcMbNDFmWRQRWuTmpmeBGgY13paAM2DZd1-xrKfTQ6H2zVyKaaGko5GHFKuQL_Hb2Acpaf4d_gf4mWY3_oxd4-EZ_ECnYYYnxykXzXOBrXrOJSxrLyV9yYe3tc3u6Bv-HppjLjT0nepVd37ViGWTb9O0OO12RbjpdTxrbfoeTrOqznMazsGokyytvgbghI2ZqYQasEKs91rVEWcvyLFW_06pvqM_Xkyx2FV2UseWKUPowizBsNGOaOTet4chfTcVsZkfby6z-KuWf-FSQcu9iYx828A_RuKKL">