[all-commits] [llvm/llvm-project] 33152a: [AMDGPU][SDAG] Enable ISD::PTRADD for 64-bit AS by...

Fabian Ritter via All-commits all-commits at lists.llvm.org
Fri Sep 19 02:11:08 PDT 2025


  Branch: refs/heads/users/ritter-x2a/06-27-_amdgpu_sdag_enable_isd_ptradd_for_64-bit_as_by_default
  Home:   https://github.com/llvm/llvm-project
  Commit: 33152a969116d67be445347b59dba9e9a902b09f
      https://github.com/llvm/llvm-project/commit/33152a969116d67be445347b59dba9e9a902b09f
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-09-19 (Fri, 19 Sep 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/identical-subrange-spill-infloop.ll
    M llvm/test/CodeGen/AMDGPU/infer-addrspace-flat-atomic.ll
    M llvm/test/CodeGen/AMDGPU/lds-frame-extern.ll
    M llvm/test/CodeGen/AMDGPU/lower-module-lds-via-hybrid.ll
    M llvm/test/CodeGen/AMDGPU/lower-module-lds-via-table.ll
    M llvm/test/CodeGen/AMDGPU/match-perm-extract-vector-elt-bug.ll
    M llvm/test/CodeGen/AMDGPU/memmove-var-size.ll
    M llvm/test/CodeGen/AMDGPU/preload-implicit-kernargs.ll
    M llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.ll
    M llvm/test/CodeGen/AMDGPU/ptradd-sdag-mubuf.ll
    M llvm/test/CodeGen/AMDGPU/ptradd-sdag-optimizations.ll
    M llvm/test/CodeGen/AMDGPU/ptradd-sdag-undef-poison.ll
    M llvm/test/CodeGen/AMDGPU/ptradd-sdag.ll
    M llvm/test/CodeGen/AMDGPU/store-weird-sizes.ll

  Log Message:
  -----------
  [AMDGPU][SDAG] Enable ISD::PTRADD for 64-bit AS by default

Also removes the command line option to control this feature.

There seem to be mainly two kinds of test changes:
- Some operands of addition instructions are swapped; that is to be expected
  since PTRADD is not commutative.
- Improvements in code generation, probably because the legacy lowering enabled
  some transformations that were sometimes harmful.

For SWDEV-516125.


  Commit: 91826fa4e5458367016625c73d7a6229ab5171ba
      https://github.com/llvm/llvm-project/commit/91826fa4e5458367016625c73d7a6229ab5171ba
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-09-19 (Fri, 19 Sep 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/loop-prefetch-data.ll

  Log Message:
  -----------
  Update checks for updated test loop-prefetch-data.ll

This only changes the order of some addition operands.


  Commit: 9fd91c3b0bab1ef1cda8d8eb66db0abd289bee05
      https://github.com/llvm/llvm-project/commit/9fd91c3b0bab1ef1cda8d8eb66db0abd289bee05
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-09-19 (Fri, 19 Sep 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/no-folding-imm-to-inst-with-fi.ll

  Log Message:
  -----------
  Update checks for new test no-folding-imm-to-inst-with-fi.ll


Compare: https://github.com/llvm/llvm-project/compare/ef9d754043a6...9fd91c3b0bab

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