[all-commits] [llvm/llvm-project] 4c9e14: [AMDGPU] Update PromoteAlloca to handle GEPs with ...

Sumanth Gundapaneni via All-commits all-commits at lists.llvm.org
Mon Feb 24 11:36:53 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c9e14b3ad64b04addc9a706663ac9ac129d7451
      https://github.com/llvm/llvm-project/commit/4c9e14b3ad64b04addc9a706663ac9ac129d7451
  Author: Sumanth Gundapaneni <sumanth.gundapaneni at amd.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/test/CodeGen/AMDGPU/promote-alloca-array-aggregate.ll

  Log Message:
  -----------
  [AMDGPU] Update PromoteAlloca to handle GEPs with variable offset. (#122342)

In case of variable offset of a GEP that can be optimized out, promote
alloca is updated to use the refereshed index to avoid an assertion.

Issue found by fuzzer.

---------

Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>



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