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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Oct 31 07:42:21 PDT 2024


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


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/BUFInstructions.td

  Log Message:
  -----------
  Remove i16 result mubuf types.

This would only be used if we started using direct i16
values on gfx6/gfx7, but they should legalize all to i32


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

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_load_global.ll

  Log Message:
  -----------
  Add missing gfx6 run line


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

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

  Log Message:
  -----------
  Fix memory predicates


Compare: https://github.com/llvm/llvm-project/compare/2548945e3512...d8e49ccc6408

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