Issue 183426
Summary [clang][bytecode][HLSL] Complete the implementations of `CK_HLSLAggregateSplatCast` and `CK_HLSLElementwiseCast` in the new constant interpreter
Labels HLSL, clang:bytecode
Assignees Icohedron
Reporter Icohedron
    The implementations of `CK_HLSLAggregateSplatCast` and `CK_HLSLElementwiseCast` are incomplete in PR #183424, as they still need to support struct and array types to enable use of the experimental new constant interpreter in the following HLSL constexpr tests:

- `clang/test/SemaHLSL/Types/AggregateSplatConstantExpr.hlsl`
- `clang/test/SemaHLSL/Types/ElementWiseConstantExpr.hlsl`

The [new policy for maintaining the new constant interpreter](https://discourse.llvm.org/t/updating-expectations-for-the-new-constexpr-engine/88853) suggests that the experimental new constant interpreter will be be expected to replace the old constant interpreter in the near future, so this task should be completed before that happens in order to have a smoother transition.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to