<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/114557>114557</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[DirectX] Implement Shader Flags Analysis for TypedUAVLoadAdditionalFormats
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
bharadwajy
</td>
</tr>
</table>
<pre>
Set function-level flag `TypedUAVLoadAdditionalFormats` based on properties of `DXIL::Opcode::BufferLoad`, if present, in the candidate function - see [here](https://github.com/microsoft/DirectXShaderCompiler/blob/a023a95f73618e8ca1791147d3722a3e1ea7608f/lib/DXIL/DxilShaderFlags.cpp#L605)
This flag is named `m_bUAVLoadAdditionalFormats` in `dxc` sources.
AC:
Add tests to verify the flag is set.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8ks1urDwMhq8mbKIZJQ5_s2AxLUKqVOlbtN9Rd0eGOEOqQFASpp27P4Lp-Vl1A7awX9sPL8ZoLzNRw4oHVrQZrmn0oelHDKg_8P2W9V7fmhdK3KzzkKyfD46u5LhxeOGsFK-3hfT_5x_PHvVZa7uVoOt8mDBFVgreYyTN_cyX4BcKyVLk3myt7dvTM1Nnps7_LYPXdI8fVmMobHKsFAweuTV8CRRpTns28zQSH3DWVmOiP3vxA49EnBUPIwViRcugHlNa4iYLHYPuYtO49sfBTwy6yQ7BR28Sg661gYb09jKipvDop8U6Cgy63vmeQYcCFJ4KU6lS1lQPKKuTlHmlVQWAiiRhVYraMOic3Rr2w6BrP627a3YOL_E4LAsD9VyKgsGJiZaJ8_35Otp4B2ojn3EiveGZfvbfcbXzVqQ_hy2Jfg0DxeO_qufH7fJ7qDVPFFPkyfMrBWtuO8XfMyOlY6YbpU_qhBk1slIiryohIBsbkENdGzInhWiqSkGNWstaSpK1Gkyf2QYE5FIKKUuhAI5lrjHPwWCeKwQULBc0oXVH567T0YdLZmNcqZEyL4oqc9iTi7sFAWb64PtXBrA5MjRb06FfL5HlwtmY4l-ZZJPbvfv1B1nR8qdpcTTRnPidPd_h8_OM7hY3zj7wb02brcE13zhnm_71OizBv9OweWjfOTLovo66NvArAAD__x9dE6A">