<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/89787>89787</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] `__HLSL_ENABLE_16_BIT` should define as `1`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
llvm-beanz
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
While writing tests for #85714, I noticed a bug in our code in InitPreprocessor, and missing test coverage. We currently set `__HLSL_ENABLE_16_BIT` to the active HLSL language version value, we should instead set it to `1`.
## Acceptance Criteria
* Updated preprocessor initialization and test verifying that the value is correctly set to 1 or not set as appropriate
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8Uk2L2zAQ_TXyZdhgy47tHHzIfoQuLKXQlj2GiTSxpyiSkcZZdn99kcmyPRUM1te8eW_ew5R49ESD2t4rrZ27Xu5OhP5Daa22jwUuMoU4fJ0Xp2Dfh9eJHcFbZGE_glCSBOcQQem633ZVo_QDPIMPwoYsIJyWEdhDWCKYYCmvnz3Lj0hzDIZSCjGXoLdw4ZQ-QcGEK0UcaQOvBGaJkby4d0gkoNryePz28vPl-PR9f__ydKza4_3zL9WWIAFkIkAjfCXIb8ChHxccCa4UEwcPV3QL5Z5vBGkKi7PAPgmhXdFZMopqy0q15UaV-_zpWuka9sbQLOgNwUNkoci4Xu7h92xRyML8jyxgz8Lo-AMl980SV2lXinx-X5VOKCvhlRNwAhNiJPOpVAJUEGIe57rHBDjPMcyRUaiwQ2139Q4LGqquqvu-b_ummAY6G1vZrt22_c62577tt6Yrz1VTm87Yuil40KVuykbXVVtVut502lJtUePp3LXYkWpKuiC7TbZ_E-JYcEoLDf2u67vC4YlcugUnD_kWmc-0LGNSTek4SfoCEBa3hm0t2D7-z8abLZbO7CmrvtlRLNENk8icVL1X-qD0YWSZltPGhIvSh9zs9rubY_hDRpQ-rNST0oeV_d8AAAD__9VJ-CY">