[all-commits] [llvm/llvm-project] 0eaaae: [AMDGPU][SDAG] Add target-specific ISD::PTRADD com...

Fabian Ritter via All-commits all-commits at lists.llvm.org
Fri Jul 18 00:57:56 PDT 2025


  Branch: refs/heads/users/ritter-x2a/06-11-_amdgpu_sdag_add_target-specific_isd_ptradd_combines
  Home:   https://github.com/llvm/llvm-project
  Commit: 0eaaae349e20d98ba33e6638bb70560b9b1ad0fc
      https://github.com/llvm/llvm-project/commit/0eaaae349e20d98ba33e6638bb70560b9b1ad0fc
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

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

  Log Message:
  -----------
  [AMDGPU][SDAG] Add target-specific ISD::PTRADD combines

This patch adds several (AMDGPU-)target-specific DAG combines for
ISD::PTRADD nodes that reproduce existing similar transforms for
ISD::ADD nodes. There is no functional change intended for the existing
target-specific PTRADD combine.

For SWDEV-516125.


  Commit: 2bf97a87a8f827e2a90337feef2e991435ebccd4
      https://github.com/llvm/llvm-project/commit/2bf97a87a8f827e2a90337feef2e991435ebccd4
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp

  Log Message:
  -----------
  Preserve shl nsw flag, remove unnecessary TLI query


Compare: https://github.com/llvm/llvm-project/compare/d35f73b7f583...2bf97a87a8f8

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