[all-commits] [llvm/llvm-project] b84721: clang/AMDGPU: Emit atomicrmw for atomic_inc/dec bu...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jun 16 17:19:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b84721df636747a9955408a934e713192a9cfe21
      https://github.com/llvm/llvm-project/commit/b84721df636747a9955408a934e713192a9cfe21
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGenCXX/builtin-amdgcn-atomic-inc-dec.cpp
    M clang/test/CodeGenOpenCL/builtins-amdgcn.cl

  Log Message:
  -----------
  clang/AMDGPU: Emit atomicrmw for atomic_inc/dec builtins

This makes the scope and ordering arguments actually do something.
Also add some new OpenCL tests since the existing HIP tests didn't
cover address spaces.




More information about the All-commits mailing list