[all-commits] [llvm/llvm-project] 88840f: [CIR][CUDA] Add support for scoped NVVM atomic bui...

Ayokunle Amodu via All-commits all-commits at lists.llvm.org
Wed Jul 22 04:31:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88840f264de6e0e6548219429ff62b3354db5210
      https://github.com/llvm/llvm-project/commit/88840f264de6e0e6548219429ff62b3354db5210
  Author: Ayokunle Amodu <ayokunle321 at gmail.com>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenBuiltinNVPTX.cpp
    M clang/lib/CIR/Dialect/Transforms/TargetLowering/Targets/NVPTX.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/test/CIR/CodeGenCUDA/builtins-nvvm-atomic.cu

  Log Message:
  -----------
  [CIR][CUDA] Add support for scoped NVVM atomic builtins (#210863)

Adds codegen support for the block and system-scoped NVVM atomic
builtins: add, and, or, xor, min, max, inc and dec.

These are lowered to the corresponding CIR `cir.atomic.fetch` operations
and subsequently lowered to LLVM `atomicrmw` instructions.



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