<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/70112>70112</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] MS-style `if`-statement attributes
</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 two attributes on `if` statements `[branch]` and `[flatten]`:
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-if
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxU0c2OnDAMB_CnCRcECuZrOHDoaoR62J72CUJiIFVIUGw63T59FTrddiUk4n8Uy_pZEdnVI46ifRHtPVMnbyGOzv3YixmV_5XNwbyPX1_fXnM6jyNEppwfIVfM0c4nI-XB56KTdhGdzIkV446eKWWifZmj8noT7T3dKm-e8eIUM_o_uai_CJm-jfmgVMEkYHKooi93q2OgsHCpwy5gQl-cJGB6WG_C43mqQcBkbETNtdkcuVT-LNaojs1qKlJU2CUzY22GelAZjlU33Kr-Jusq28YGmsHMN1V1rVZa930HuDSN7Ouh0miGzI4goa4kNCBlX8lSt3potLnVfasRZCMaibuyrkx0ZYhrZolOHHtZVZA5NaOjCxkgYQqAxP1X-lxJNNJZYvrXgC27azHXg_aef3sriN8dfnAXH9z_7SM7oxs_S66Wt3N-Aqb-z19xxPAdNQuYrmmT5jXw7wAAAP__8BipCg">