<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/81779>81779</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Disallow 16-bit integer types if native 16-bit types are disabled
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
DXC disallows declarations of 16-bit types if the native 16-bit types are disabled. In Clang, we `#ifdef` out the 16-bit intrinsics to prevent generating 16-bit types.
### Acceptance Criteria
Test cases that produce diagnostics when users use 16-bit types without enabling native 16-bit types.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEks2K2zAQx59GvgxrZNmOnYMPaUJoYW_todexNbZVtJLRjBO2T1_spmwDhcIgHQb-H_wGmd0UiDpVf1L1JcNV5pg6729vLz1h-Jn10b53l-9nsI7R-3hnsDR4TCguBoY4QnF46Z2AvC_E4EaQmSCguBs9rzDRrtJ7sjl8CXD2GCZlznAnUAetTOlGS6M6aIir7DoPARckucBuYJAIS6IbBYGJAm05wvRklCt92saUvwdOw0CLYBgIzskJJYdKn74RCwzIxCAzCiwp2nXYIuIUIstmdp8pwMqUeHuf69ydzFtMCtj7LcM_OueZ7Up7LI-YUVc0ujmWbXUos7lDLFu0I9m6KHVrbNPqSld93ZrWVDiWmeuMNpU2RVUcTaFNjg0Ng8a2rqqy6LFSlaY3dD7faOUxTZljXqlri6Y5Zh578rxzNSbQHfalMmbD_IfwOrGqtHcs_KEiTvx-EJ9fv76q-gKXB_m_YNBE6QP4_2Bna_LdLLKwKk_KXJW5Tk7mtc-H-KbMdbN-fC9Lij9oEGWue2BW5roX-hUAAP__d2DhYw">