Issue 163437
Summary [HLSL] Add support to constant _expression_ evaluator for 'IntegralToFloating' and other similar casts to VectorExprEvaluator
Labels HLSL
Assignees
Reporter spall
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to