<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/86506>86506</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Enable `-fconvergent-functions` by default
</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 should follow the pattern OpenCL and other GPU languages use here:
https://github.com/llvm/llvm-project/blob/f6657601629005cc9e488f159e310ae4008a25ea/clang/lib/Frontend/CompilerInvocation.cpp#L3736
This will allow correct code generation of wave operations.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkd2q1DAUhZ8mvdlMSZMmbS96oedYFQYU1AfIz24bySQlSWc4Pr20jngtBEICa6-19qdydktAHIl4T8RrpfayxjR6f79dNKrwq9LRvo2frt-ukNe4ewtz9D4-oKwImyoFU4AvG4aXK6hgIZYVE3z8-gO8CsuuFsywZ4QVExL-jtDjrKVs-XixibBpcWXddW3ijbDpcH5ely3Fn2gKYZP2URM2zVKKTtJGsoFSYcyAbd_PjRiQN1RhS2mvmEBF2GQO-2OQO4RTiqFgsIRNL_G2OY_pc7hHo4qLoTbbRhi_8o7LP_m-ry7Dw3kP6uxqYkpoCphoERYMmE4hxBke6o4Qt-dPris7cjvwQVU4Nl3T8E50nFbraOXAZNsOQzfrQbOW971Czc3QNHZWfV-5kVHWUs5E09Je0FpyyrS1wvbYCCkEaSnelPP1sZw6pqVyOe849lJQWXml0eeTI2MHL8LYQfQvzH3JpKXe5ZL_DSiu-JP9KRCv8CEo7RGIpJfZxHDHtGAol3kP5uxHJAX9BhZntftS7cmP_w3zTJ0Jm87gvwMAAP__JoTNvQ">