================
@@ -1591,6 +1591,13 @@ Value *ScalarExprEmitter::EmitScalarConversion(Value
*Src, QualType SrcType,
if (DstType->isBooleanType())
return EmitConversionToBool(Src, SrcType);
+ // Also handle conversions to atomic bools
----------------
kiran-isaac wrote:
Yeah, agreed. I have added a new commit where I lift the conversion to the
caller, `ScalarExprEmitter::EmitCompoundAssignLValue`
https://github.com/llvm/llvm-project/pull/178220
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits