[all-commits] [llvm/llvm-project] dd5d25: AMDGPU: Handle atomic sextload and zextload

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Oct 9 10:22:13 PDT 2024


  Branch: refs/heads/users/arsenm/amdgpu-global-isel-fix-atomic-extloads
  Home:   https://github.com/llvm/llvm-project
  Commit: dd5d25a025df9b222f28026154f40aefe601c710
      https://github.com/llvm/llvm-project/commit/dd5d25a025df9b222f28026154f40aefe601c710
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-09 (Wed, 09 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: 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