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

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] remove module flag and function attribute not supported by DXIL
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:DirectX
      </td>
    </tr>

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

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

<pre>
    
The only module flags DXIL used are "Dwarf Version" and "Debug Info Version".

And the only string function attributes allowed in DXIL are "waveops-include-helper-lanes" and "fp32-denorm-mode".

Other string function attributes and module flags should be removed before emit DXIL.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kk2L2zAQhn-NfBE2ysiOyUGHFBNYKPRSyl71MbbVlSWjj4T8-xLHS9MWepGERjPvvM9IpmQnjyhI94UArPc8B88_JokEgHRDJUueQxQvgUoFcxeEDYSdv89Ig3d3ugRTHNLRySnR4f3tKy0JDZURKQEYbjKO9AfGZIMnAFR6s92jKhN982N4CTbP0s_17A3NnyIpR-snOhavsw2eypyjVSVjotK5cENDrX-q78I3ecWwptp67YrBeka3Yqyd9Jhe-hhXDrVBH-JSL8Hg3118yzPG_8p78yeCNIfiDFVIIy7hio_jGCJSXGzeWmwqI7g58ZOsUBz6Q9udumPLq1kA9q0GVFwfNY6Hfmzx0DPDmTx1WktTWQEMWtaxAzDeMt70WukjB_V4rYFz0jJcpHWNc9elCXGqbEoFxYn1Pa-cVOjSPnEl9Qd6Q_h5sBF1ft_nHsUjt1ZlSqRlzqacflfLNrvty3zmdMPu85XCRuVfWtSHTFNZ1xDzg8t9w1GV6MSc85oIPxO4ELhMNs9FNTosBC4P7X2r1xh-os4ELputROCyOfsVAAD__7Zc7HA">