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

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] Add with overflow should emulate for everything except specifically 32-bit ops
        </td>
    </tr>

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

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

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

<pre>
    Our current add with overflow implementation always tries to use the 32-bit dxil ops but this only actually makes sense when doing 32 bit adds. Currently this means 16 and 64 bit operations are incorrect.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkkb2SnDAQhJ9GJFNHgfizAoKztzZ16lRIA8gnJEoz2j3e3gW3LgeOlKinvv5aE7klII6i-y66W6EzrzGNU1wCpmKK9hh_5gQmp4SBQVsLT8crxAem2ccnuG33uGFgzS4G0P6pDwJODgk4QiYEXhEa-TY5BvvpPMSdYMoMvDqCGPwB2nDW3h-w6Q8kIAyE8FwxgI0uLNBIONPaWirhxxeLP74ObKgDQd2DDhb69voYd0wXD4FOCC6YmBIaLgs7NlY1Shc41sO3RvWt6ppiHY2U_WAHnLHR3dzN3aDrvpmHqW_VoDpVuFFWsq-GuqmHVtWy7JUapGrnymA_mFaKtsJNO196_9jKmJbCEWUcZaVk1xVeT-jp0izlpM0HBiua95s7uX4JKU_7aTzDb1NeSLSVd8T07xw79tdOfzPdDd7_24PWmL0F3LLXjDDHBPjAdPB6isRPgzsD7Wjc7Mzl_DVN3KnIyY8r806ieRfyLuR9cbzmqTRxE_J-oryetz3F32hYyPtVk4S8v5o-RvknAAD__wW3yRE">