<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/85712>85712</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Enable parsing half suffix for floating point literals
</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>
HLSL supports the `h` suffix for floating point literals to denote half types. Clang currently blocks that suffix unless the OpenCL 16-bit type extension is enabled: https://godbolt.org/z/f55547a3z
### Acceptance Criteria
Test cases demonstrating parsing of floating point values with the `h` suffix generating correct half AST types.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEkkFvnDAQhX-NuYyyMgbvsgcONCnqIVIPyR8w9gBuvTbyDGmSX1_BblopqlTJ0pz8Zt57nyHyU0Rshf4i9ENhVp5TbkN4udwNaOJ7MST31n57fHoEWpclZSbgGUEc5SyOEmgdR_8KY8owhmTYxwmW5CND8IzZBAJO4DAmRphNGIHfFqQD3AcTJ7Brzhg5vMEQkv25aRv-EF1jQLqu-75gvH-E8ng3eN4lAF8ZI_kUwRNgNENAJ6oOZuaFRNUJ1QvVT8kNKfAh5Umo_l2oftRa1ydTvQvZbU9V1wedtbiwiRbhPm_HeyNk94zEYA0hgcNLisT55tJk2mYaPzt_MWFFgl-e539lNWHEm4ZNOaPlazDd0_MtnMK1lTtXZ1NgW55K2cjyqHUxt1qVjXSVlaOrNMpaNmcsm_PgzLkyiGXhWyVVLauyUaqWWh8aVxl7PGtzcrIuSytqiRfjw2GreEul8EQrto0-laoIZsBAOwxKbaULpTYsPohYJxK1DJ6Y_gqw57ADtH_QD_B1L-NPQLu5_3NSrDm0n8rzPK_DwaaLUP227zbulpx-oGWh-v16EqrfDfwOAAD__zjv744">