[all-commits] [llvm/llvm-project] 674491: [CIR] Add atomic exchange operation (#158089)

Sirui Mu via All-commits all-commits at lists.llvm.org
Sat Sep 20 02:35:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 674491928c9ae8ec25bde79044894570988202ea
      https://github.com/llvm/llvm-project/commit/674491928c9ae8ec25bde79044894570988202ea
  Author: Sirui Mu <msrlancern at gmail.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/CodeGen/CIRGenAtomic.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/test/CIR/CodeGen/atomic.c
    A clang/test/CIR/IR/atomic.cir

  Log Message:
  -----------
  [CIR] Add atomic exchange operation (#158089)

This patch adds atomic exchange operation which covers the following
C/C++ intrinsic functions:

  - `__c11_atomic_exchange`
  - `__atomic_exchange`
  - `__atomic_exchange_n`



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list