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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] vector<->array conversions are allowed as inout parameters if explicitly casted
        </td>
    </tr>

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

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

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

<pre>
    This is allowed in DXC: 
vector<->array conversions where we can create a cxvalue, but only from an explicit cast:
https://godbolt.org/z/ezzjj6dWo
but in clang produces the following error
```cannot bind non-lvalue argument (float4)V to inout paramemter```

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEkkFvnDAQhX_NcBntytgsgQMHmhT1kFurttfBDODI2Mg2m2x-fQWNtmovlSzZB8_Te-8bitFMjrmByye4PGW0pdmHJq5kbdb74dZ8m01EE5Gs9a88oHH49PMRVIsg2ivr5AOoxxOozxQC3VB7d-UQjXcRX2cOjK-MmhzqwJQYCfXblezGIB-x3xJ6Z284Br8gOeS31RptEmqKCVQLop1TWuP-lB3IbvJD7206-zCB7N5Bdvz-_vJSDj88iHbXMw61JTfhGvywaY6YZsbR7_6Nm5BD8AFEC6X4fTQ55xP2xg3ovDvZwx5SmLaFXUKQ1Wg9pQJk_R2TR-P8lnClQAsvicNdCUSbDY0aalVTxk3-UEhViFJcsrkpVT-WinVdCq2roshJqbKv8nGoWDwMIjONFPIiVF5JpYQozhciWbOuc1lxngsFheCFjD1be132AjIT48ZNrvJaVZmlnm08QEr55fnrM0i5Iw3N_v_Ub1OEQlgTU_yjkEyyB_xj4PKE_yFKge-bQPGvJhKHiGa8I7S3AyIP2RZs8w9Fk-atP2u_gOx2Mx_XaQ3-hXUC2R3ZIsjuI961kb8CAAD__yEN35k">