<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/114561>114561</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] Implement Shader Flags Analysis for LowPrecisionPresent
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          bharadwajy
      </td>
    </tr>
</table>

<pre>
    Set module-level flag `LowPrecisionPresent` if any of the module functions use an instruction with operands of `llvm::Type::TypeID::HalfID` or `Int16Ty`

This flag is named `m_bLowPrecisionPresent` 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/eJx0Uk2P2yAQ_TX4MooF-CPJwYe0ltVIPay0OfRWYTO2WWGIGJzU_74i2dX20L3AAO_xHm9QRGZyiA2rvrGqzdQaZx-aflZB6bt627Le6615xQiL16vFncUbWhitmoDV_Ke_vwQcDBnvXgISushqDmYE5TbwI8QZ35kwrm6IxjuClRCUA-MohvWxB3cTZ_BXDMppSkRWc2tvCytOrDhdtit-Vuf2Wf9Qdjy3Sc-HhD-7KOrLxmrOeMv46TleZkNPv4bAqQV1wi6_-6-8u3Su_wxpQX4NA1L-74Wn70n-WWoNESkSRA83DGbcHi_-kCOMeaabQh-Lo8qwEfuCl_t9VfBsbo5VVcqD5lzzIxd1L7E_aLE_COxLOcgiM43kshSCC1ELyQ_5iMPhyIdCVvtaa16zkuOijM1TUrkPU2aIVmyEKKtaZFb1aOmjtaFJqF2_TsRKbg1F-uRFE-3jE7Qm4BB_saqF83K1uKCL8DorjQE6qyaCk1N2o5SpD_CfDLM12GaO8UopJtkx2U0mzmufD35hsnt09TntrsG_4RCZ7B7Gicnu3futkX8DAAD__3n41sI">