[all-commits] [llvm/llvm-project] 47baa7: AMDGPU: Support local atomicrmw fmin/fmax for floa...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jun 17 09:53:32 PDT 2024


  Branch: refs/heads/users/arsenm/amdgpu-select-atomicrmw-fmin-fmax-local
  Home:   https://github.com/llvm/llvm-project
  Commit: 47baa772aac5b0915799de728547d3a48ff14aed
      https://github.com/llvm/llvm-project/commit/47baa772aac5b0915799de728547d3a48ff14aed
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/atomics-gmir.mir
    M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmax.ll
    M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fmin.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fmax.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fmin.ll

  Log Message:
  -----------
  AMDGPU: Support local atomicrmw fmin/fmax for float/double

This has always been supported. Somehow, we ended up with 2
copies of clang builtins for this case, and the newer one
erroneously requires gfx8-insts.


  Commit: bb906702610e91304ddc4f27ac87f59920d32cf4
      https://github.com/llvm/llvm-project/commit/bb906702610e91304ddc4f27ac87f59920d32cf4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  AMDGPU: Remove isFloatTy check in atomicrmw integer min/max handling


Compare: https://github.com/llvm/llvm-project/compare/2a29fa0d9ccf...bb906702610e

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