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) {
53395339 case CK_HLSLVectorTruncation:
53405340 case CK_HLSLArrayRValue:
53415341 case CK_HLSLElementwiseCast:
5342+ case CK_HLSLSplatCast:
53425343 return EmitUnsupportedLValue (E, " unexpected cast lvalue" );
53435344
53445345 case CK_Dependent:
Original file line number Diff line number Diff line change @@ -1599,7 +1599,7 @@ static bool castPreservesZero(const CastExpr *CE) {
15991599 case CK_AtomicToNonAtomic:
16001600 case CK_HLSLVectorTruncation:
16011601 case CK_HLSLElementwiseCast:
1602- // TODO is this true for CK_HLSLSplatCast
1602+ case CK_HLSLSplatCast:
16031603 return true ;
16041604
16051605 case CK_BaseToDerivedMemberPointer:
You can’t perform that action at this time.
0 commit comments