================
@@ -1030,7 +1059,7 @@ RValue CodeGenFunction::EmitAtomicExpr(AtomicExpr *E) {
E->getOp() == AtomicExpr::AO__scoped_atomic_compare_exchange)
Val2 = EmitPointerWithAlignment(E->getVal2());
else
- Val2 = EmitValToTemp(*this, E->getVal2());
+ Val2 = EmitValToTemp(*this, E->getVal2(), AtomicTy.getPointerAuth(),
Ptr);
----------------
jfbastien wrote:
I think it already does this?
https://github.com/llvm/llvm-project/pull/240090
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits