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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Nov 20 16:58:44 PST 2025


  Branch: refs/heads/users/arsenm/amdgpu/use-constant-pool-kernarg-loads
  Home:   https://github.com/llvm/llvm-project
  Commit: d406c2c1b2a6c3d18e626d7ff05e957ee9c29dba
      https://github.com/llvm/llvm-project/commit/d406c2c1b2a6c3d18e626d7ff05e957ee9c29dba
  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