[clang] [HLSL] Implement array temporary support (PR #79382)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 12 15:50:06 PDT 2024
================
@@ -2231,7 +2231,8 @@ Value *ScalarExprEmitter::VisitCastExpr(CastExpr *CE) {
case CK_UserDefinedConversion:
return Visit(const_cast<Expr*>(E));
- case CK_NoOp: {
+ case CK_NoOp:
+ case CK_HLSLArrayRValue: {
----------------
efriedma-quic wrote:
It shouldn't be possible to hit this case; a value of ArrayParameterType isn't a scalar.
https://github.com/llvm/llvm-project/pull/79382
More information about the cfe-commits
mailing list