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

Fabian Ritter via All-commits all-commits at lists.llvm.org
Thu Aug 7 01:42:41 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: 271c91d480e99e7cb0223b4cf9d3edbcdcde25b6
      https://github.com/llvm/llvm-project/commit/271c91d480e99e7cb0223b4cf9d3edbcdcde25b6
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-08-07 (Thu, 07 Aug 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: 9270d54908704084d69ddf3edf4091107f36dc61
      https://github.com/llvm/llvm-project/commit/9270d54908704084d69ddf3edf4091107f36dc61
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-08-07 (Thu, 07 Aug 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: 7d43e948e6026b1467976676daf0900780882675
      https://github.com/llvm/llvm-project/commit/7d43e948e6026b1467976676daf0900780882675
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-08-07 (Thu, 07 Aug 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/05a47721e69b...7d43e948e602

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