https://github.com/wenju-he created https://github.com/llvm/llvm-project/pull/169610
None >From 8f364e6a6a2c5ca763ce8cc84a8527b8941ef69c Mon Sep 17 00:00:00 2001 From: Wenju He <[email protected]> Date: Wed, 26 Nov 2025 07:13:09 +0100 Subject: [PATCH] [CIR] Add missing switch cases for AO__scoped_atomic_uinc/udec_wrap in emitAtomicOp --- clang/lib/CIR/CodeGen/CIRGenAtomic.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/lib/CIR/CodeGen/CIRGenAtomic.cpp b/clang/lib/CIR/CodeGen/CIRGenAtomic.cpp index 48c082d89de18..4c94db5ddd457 100644 --- a/clang/lib/CIR/CodeGen/CIRGenAtomic.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenAtomic.cpp @@ -644,6 +644,9 @@ static void emitAtomicOp(CIRGenFunction &cgf, AtomicExpr *expr, Address dest, case AtomicExpr::AO__scoped_atomic_nand_fetch: case AtomicExpr::AO__scoped_atomic_fetch_nand: + + case AtomicExpr::AO__scoped_atomic_uinc_wrap: + case AtomicExpr::AO__scoped_atomic_udec_wrap: cgf.cgm.errorNYI(expr->getSourceRange(), "emitAtomicOp: expr op NYI"); return; } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
