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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Implement vector extension/truncation/conversion standard conversion sequences
        </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's standard conversion sequences support vector splat and truncation as a "second" conversions, and have an element-wise integral or floating point conversion that can be inserted between C++'s second and third conversions.

This is not well documented, but the WIP specification of the behavior is here:

https://github.com/microsoft/hlsl-specs/blob/main/specs/language/conversions.tex

The draft specification is also available [as a PDF](https://microsoft.github.io/hlsl-specs/specs/hlsl.pdf). The relevant chapter has the stable reference `[Conv]`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8k09vnDAQxT-NuYwWgRf2z4FDNivUSDlEaqWex3gAV16begxJ--krs9nmzyESkoXtGX6PeQ-ZzeCIGlGfRH3OcI6jD421y2WjCN3fTHn9p_n2-P1RyD0DR3Qag4bOu4UCG--A6fdMriMGnqfJhwgLddEH4MliBHQaYphdhzHdRgYEISVT550WUr5rxULer_dHXAjQAVm6kIubZ8MExkUaAlrwAXrrMRo3wOSNi-9p4ogROnSgUgVTiKRBUXwmcnAv5Gl9kpQV4Io3mg-SOBfFnSjufoyGwTA4H-GZrAXtuzkBkU6kao4QR4KfD0_AE3WmN68ifb8eKBpxMT6kHiMFEtu7a-MxxonTm2yFbAcTx1nlnb8I2V5MFzz7PgrZjpbtJnVmIVtlvUrnaJyQ7W3XohtmHEjI9j1_pJebBAIdsI-fCA0DWvaACxqLyhKI-rTO5uncivos5OEj5H-u_BXX-M-EtzVt5pPuhTzmkAACWVowzWnEKVKAEXn9QRzXTwfqKSQLgdgVoj7de7ckhl2RZ7rZ6uP2iBk15e54KA9lVZXZ2NAO96rcHYr6sK2oop3uK11tSXdK7fsSM9PIQm7LQlayLKqizPd1UR9UVdT7_bZEtRNVQRc0Nk9uz30YMsM8U7MvSllnFhVZXnMh5dX_MiXkFo55YFEV1nDktwbRRLtmaS2oz_Bwma4WvmWCXiK5NCMh27dUfJje1yHL5mCbL_yTWF6XzRT8L-qSk1ZlaTaruH8BAAD__-5oV00">