[all-commits] [llvm/llvm-project] f61f76: AMDGPU/GlobalISel: Handle atomic sextload and zext...

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


  Branch: refs/heads/users/arsenm/amdgpu-global-isel-fix-atomic-extloads
  Home:   https://github.com/llvm/llvm-project
  Commit: f61f76044636960458f97393287882422c626568
      https://github.com/llvm/llvm-project/commit/f61f76044636960458f97393287882422c626568
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
    M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/DSInstructions.td
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SIInstrInfo.td
    A llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_load_flat.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_load_global.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_load_local_2.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Handle atomic sextload and zextload

Atomic loads are handled differently from the DAG, and have separate opcodes
and explicit control over the extensions, like ordinary loads. Add
new patterns for these.

There's room for cleanup and improvement. d16 cases aren't handled.

Fixes #111645



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