File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5339,6 +5339,7 @@ LValue CodeGenFunction::EmitCastLValue(const CastExpr *E) {
5339
5339
case CK_HLSLVectorTruncation:
5340
5340
case CK_HLSLArrayRValue:
5341
5341
case CK_HLSLElementwiseCast:
5342
+ case CK_HLSLSplatCast:
5342
5343
return EmitUnsupportedLValue (E, " unexpected cast lvalue" );
5343
5344
5344
5345
case CK_Dependent:
Original file line number Diff line number Diff line change @@ -1599,7 +1599,7 @@ static bool castPreservesZero(const CastExpr *CE) {
1599
1599
case CK_AtomicToNonAtomic:
1600
1600
case CK_HLSLVectorTruncation:
1601
1601
case CK_HLSLElementwiseCast:
1602
- // TODO is this true for CK_HLSLSplatCast
1602
+ case CK_HLSLSplatCast:
1603
1603
return true ;
1604
1604
1605
1605
case CK_BaseToDerivedMemberPointer:
You can’t perform that action at this time.
0 commit comments