[all-commits] [llvm/llvm-project] f6a8f0: [AMDGPU] Generate canonical additions in AMDGPUPro...

Fabian Ritter via All-commits all-commits at lists.llvm.org
Wed Sep 10 01:31:27 PDT 2025


  Branch: refs/heads/users/ritter-x2a/09-10-_amdgpu_generate_canonical_additions_in_amdgpupromotealloca
  Home:   https://github.com/llvm/llvm-project
  Commit: f6a8f012f387b906f845b7a57c4e88bd7f490bcf
      https://github.com/llvm/llvm-project/commit/f6a8f012f387b906f845b7a57c4e88bd7f490bcf
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/test/CodeGen/AMDGPU/promote-alloca-multidim.ll
    M llvm/test/CodeGen/AMDGPU/promote-alloca-negative-index.ll
    M llvm/test/CodeGen/AMDGPU/promote-alloca-vector-gep-of-gep.ll

  Log Message:
  -----------
  [AMDGPU] Generate canonical additions in AMDGPUPromoteAlloca

When we know that one operand of an addition is a constant, we might was
well put it on the right-hand side and avoid the work to canonicalize it
in a later pass.



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