<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/70114>70114</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] MS-style `for` and `while` statement `unroll` attribute
</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>
HLSL `for` and `while` loops support Microsoft-syntax attributes. For Phase 1 we need to support parsing the `unroll` attribute:
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-for
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-while
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0UsGq3CAU_RqzkQQ1xpkssmh5hC7eg8L7AmPuJBZHg_em86ZfXwwzLV20u4KgR_Gee885FtEvEWBg3WfWvVR2pzXlIYTv13oCG39UU5rvw5fX91fOjLikzIzgNs4F3VYfoOCQ0oYc921LmfibdzlhulCN90j2g1ui7KedABs-psy_rhaBS34DHgFmTunX381m9HHhtEJh2GNOIRyUzxqs_cREWSvRhgWpkakxgM2xuT6pG5euTI0Q6x2ZGm8-zun2OLWKqXH2GRy18xowFPhRL9luq3dYl6u6TPq_OQ79qnlo577tbQWDNP1Zns5G9NU6GHDgdH-6KHXWE7hJXaSE1l3ms5Fn11Z-UEK1UiithDS6b6Brte50Z7RzwpiJaQFX60NT7GxSXiqPuMNwElLqKtgJAh7GKxXhxo9HplTJwTMC-4JMi-CR8HcV8hSOxJRYsO6Fv73XSPcA_4gIkiW4QqS_2FrtOQx_yr14WvfpoXIhf2z1ltM3cMTUeLRcJD9G-hkAAP__9Q_qgw">