[all-commits] [llvm/llvm-project] ba6956: AMDGPU: Use ConstantPool as source value for DAG l...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Nov 20 09:39:25 PST 2025


  Branch: refs/heads/users/arsenm/amdgpu/use-constant-pool-kernarg-loads
  Home:   https://github.com/llvm/llvm-project
  Commit: ba6956972441e638697bcbaa8a1db989c01b9e52
      https://github.com/llvm/llvm-project/commit/ba6956972441e638697bcbaa8a1db989c01b9e52
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-11-20 (Thu, 20 Nov 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-split-scalar-load-metadata.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-widen-scalar-loads.mir

  Log Message:
  -----------
  AMDGPU: Use ConstantPool as source value for DAG lowered kernarg loads

This isn't quite a constant pool, but probably close enough for this
purpose. We just need some known invariant value address. The aliasing
queries against the real kernarg base pointer will falsely report
no aliasing, but for invariant memory it probably doesn't matter.



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