[clang] [CIR] Add atomic exchange operation (PR #158089)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 12 13:08:52 PDT 2025


================
@@ -4033,6 +4033,47 @@ def CIR_ThrowOp : CIR_Op<"throw"> {
 // Atomic operations
 //===----------------------------------------------------------------------===//
 
+def CIR_AtomicXchg : CIR_Op<"atomic.xchg", [
----------------
bcardosolopes wrote:

Please add CIR to CIR tests for parsing/printing

https://github.com/llvm/llvm-project/pull/158089


More information about the cfe-commits mailing list