================
@@ -399,20 +399,14 @@ static void emitAtomicCmpXchgFailureSet(CIRGenFunction
&cgf, AtomicExpr *e,
static void emitAtomicOp(CIRGenFunction &cgf, AtomicExpr *expr, Address dest,
Address ptr, Address val1, Address val2,
Expr *isWeakExpr, Expr *failureOrderExpr, int64_t
size,
- cir::MemOrder order) {
- std::unique_ptr<AtomicScopeModel> scopeModel = expr->getScopeModel();
- if (scopeModel) {
----------------
andykaylor wrote:
This divergence from the structure of classic codegen worries me. It looks like
we need for the handling to be done here to cover the non-constant scope value
case properly.
https://github.com/llvm/llvm-project/pull/171134
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits