[all-commits] [llvm/llvm-project] 0d6000: [AMDGPU][SDAG] Handle ISD::PTRADD in various speci...

Fabian Ritter via All-commits all-commits at lists.llvm.org
Mon Jun 23 06:37:22 PDT 2025


  Branch: refs/heads/users/ritter-x2a/06-17-_amdgpu_sdag_handle_isd_ptradd_in_various_special_cases
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d600027b404a2d8d876cc22bec25d6070b47ca7
      https://github.com/llvm/llvm-project/commit/0d600027b404a2d8d876cc22bec25d6070b47ca7
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/ptradd-sdag-mubuf.ll
    M llvm/test/CodeGen/AMDGPU/ptradd-sdag-optimizations.ll

  Log Message:
  -----------
  [AMDGPU][SDAG] Handle ISD::PTRADD in various special cases

There are more places in SIISelLowering.cpp and AMDGPUISelDAGToDAG.cpp
that check for ISD::ADD in a pointer context, but as far as I can tell
those are only relevant for 32-bit pointer arithmetic (like frame
indices/scratch addresses and LDS), for which we don't enable PTRADD
generation yet.

For SWDEV-516125.



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