[all-commits] [llvm/llvm-project] 2d1fba: [NVPTX] Support __usAtomicCAS builtin (#99646)

Denis.G via All-commits all-commits at lists.llvm.org
Wed Aug 28 12:01:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d1fba67c54b7c6b7f57635f863d4e1cd5fcc048
      https://github.com/llvm/llvm-project/commit/2d1fba67c54b7c6b7f57635f863d4e1cd5fcc048
  Author: Denis.G <34353767+DenisGZM at users.noreply.github.com>
  Date:   2024-08-28 (Wed, 28 Aug 2024)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/__clang_cuda_device_functions.h
    M clang/test/CodeGen/builtins-nvptx.c
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/NVPTX/NVPTXSubtarget.h
    M llvm/test/CodeGen/NVPTX/atomics-sm90.ll
    A llvm/test/CodeGen/NVPTX/cmpxchg.ll
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  [NVPTX] Support __usAtomicCAS builtin (#99646)

Supported `__usAtomicCAS` builtin originally defined in
`/usr/local/cuda/inlcude/crt/sm_70_rt.hpp`

---------

Co-authored-by: Denis Gerasimov <Denis.Gerasimov at baikalelectronics.ru>
Co-authored-by: Gonzalo Brito Gadeschi <gonzalob at nvidia.com>
Co-authored-by: Denis.Gerasimov <dengzmm at gmail.com>



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