[all-commits] [llvm/llvm-project] d281cf: AMDGPU: Custom expand flat cmpxchg which may acces...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Oct 10 04:10:54 PDT 2024


  Branch: refs/heads/users/arsenm/atomic-expand-allow-custom-cmpxchg-expand
  Home:   https://github.com/llvm/llvm-project
  Commit: d281cf9a6f7c67fdcb86ca2eb3af843f0297e457
      https://github.com/llvm/llvm-project/commit/d281cf9a6f7c67fdcb86ca2eb3af843f0297e457
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/Transforms/Utils/LowerAtomic.h
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/lib/Transforms/Utils/LowerAtomic.cpp
    M llvm/test/CodeGen/AMDGPU/flat_atomics_i64.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-flat-noalias-addrspace.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-integer-ops-0-to-add-0.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-cmpxchg-flat-maybe-private.ll

  Log Message:
  -----------
  AMDGPU: Custom expand flat cmpxchg which may access private

64-bit flat cmpxchg instructions do not work correctly for scratch
addresses, and need to be expanded as non-atomic.

Allow custom expansion of cmpxchg in AtomicExpand, as is
already the case for atomicrmw.


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

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/LowerAtomic.h
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Transforms/Utils/LowerAtomic.cpp

  Log Message:
  -----------
  Rename helper function


Compare: https://github.com/llvm/llvm-project/compare/6022e58fe1bd...20afcbd6c479

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