Issue 125766
Summary [HLSL] Implement constant _expression_ evaluator for HLSL splat cast
Labels new issue
Assignees
Reporter spall
    See PR for Implementation of this cast #118992

Add support to handle the new cast in the constant _expression_ evaluator (clang/lib/AST/ExprConstant.cpp)
Support to handle this cast should be added to:
- VectorExprEvaluator::VisitCastExpr (This cast only handles splatting from a vec1, there is an existing cast that splats from a scalar)
- RecordExprEvaluator::VisitCastExpr
- ArrayExprEvaluator::VisitCastExpr (There is currently no such function but I believe it should be added).
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to