================
@@ -2107,6 +2106,14 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl 
&gd, unsigned builtinID,
     emitAtomicFenceOp(*this, e, cir::SyncScopeKind::SingleThread);
     return RValue::get(nullptr);
   }
+  case Builtin::BI__sync_synchronize: {
+    cir::AtomicFenceOp::create(
----------------
andykaylor wrote:

You didn't think it's worth copying the comment from classic codegen about how 
badly designed this intrinsic is?

https://github.com/llvm/llvm-project/pull/200423
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to