[all-commits] [llvm/llvm-project] 5f30c2: clang/AMDGPU: Set noalias.addrspace metadata on at...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Oct 8 03:00:04 PDT 2024


  Branch: refs/heads/users/arsenm/clang-amdgpu-set-noalias-addrspace-atomicrmw
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f30c2e0c4d45f4a64ec7581c2f9d54ce1e3c02d
      https://github.com/llvm/llvm-project/commit/5f30c2e0c4d45f4a64ec7581c2f9d54ce1e3c02d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-08 (Tue, 08 Oct 2024)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.h
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/test/CodeGenCUDA/amdgpu-atomic-ops.cu
    M clang/test/CodeGenCUDA/atomic-ops.cu
    M clang/test/CodeGenOpenCL/atomic-ops.cl

  Log Message:
  -----------
  clang/AMDGPU: Set noalias.addrspace metadata on atomicrmw


  Commit: cb6691a5f8c2d9c9e309ad26ac00610f26a21a40
      https://github.com/llvm/llvm-project/commit/cb6691a5f8c2d9c9e309ad26ac00610f26a21a40
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-08 (Tue, 08 Oct 2024)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/lib/CodeGen/CGAtomic.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/CodeGen/TargetInfo.h
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/test/CodeGenCUDA/amdgpu-atomic-ops.cu
    M clang/test/CodeGenCUDA/atomic-ops.cu
    M clang/test/CodeGenOpenCL/atomic-ops.cl

  Log Message:
  -----------
  Change behavior per-builtin

Legacy atomic* apis are allowed to not work for private,
but not std::atomic style. Base this based on the language builtins,
rather than the language directly.

Also start handling cmpxchg.


Compare: https://github.com/llvm/llvm-project/compare/32d917d48000...cb6691a5f8c2

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