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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Add support to constant expression evaluator for 'IntegralToFloating' and other similar casts to VectorExprEvaluator
        </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>
    HLSL allows IntegeralToFloating and other similar casts to be applied to vectors. Support for the following casts should be added to VectorExprEvaluator::VisitCastExpr.

- IntegralToFloating
- FloatingToIntegral
- IntegralCast
- FloatingCast
- FloatingToBoolean
- IntegralToBoolean
- BooleanToSignedIntegral

Tests should be added showing these casts being successfully performed in 'constexpr' on vectors.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8kkGPmz4QxT-NuViLbOOE5MCB_e-if6W9Jdq7wQO4chjkMenut69MknbTRj2Bh3njeY-fIXLDBFCxzTPbvGRmiSOGimbjfdai_az-fzu8ceM9_iD-bYowQDD-iI1HE900cDNZjnGEwMmdnDeBd4Yi8Yi8BW7m2Tuw6XSGLmKgnB-WecYQeY-BxxF4j2l6mnVR0oiLt6va2ov2fdW-fszh9Wz8YiIGVtSsqN8dufifoZi-5UzUTNRPlz3v1lzLt8MRbw133WnMXd9fhSM-I3ow0x-3fK1e3494SMHaLzcxUR_hkUEaL_bjCATXEFpIFVq6Doj6xftPPkPoMZzAcjdxpsoOJ4rwMQemSo7Tr4AzWxV2X-xNBpUst0Jv93onsrHSoMtdb7SUupfSml62RmjZ6l2vSi0hc5USaiOF1HIvd0LkhSpU13a7su03pbBbpgWcjPO59-dTjmHIHNECldwWuigzb1rwtLKkVAKHKZWoClXqf2qXgZgW3lGk3xOii37lbxVsXnhtLacrIxH5atNMkSerQORw4nCjYIWIqfLBH1flv9h8QFS2BF-NMc6U2FINU83g4ri0eYcnppq08fXxNAf8Dl1kqlkDIKaaawbnSv0MAAD__7uBI4U">