[all-commits] [llvm/llvm-project] 1a9928: SeparateConstOffsetFromGEP: Avoid looking at const...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Apr 7 17:45:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a9928442b7dbcd596d6b577809c22330706ccb5
      https://github.com/llvm/llvm-project/commit/1a9928442b7dbcd596d6b577809c22330706ccb5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lower-gep.ll

  Log Message:
  -----------
  SeparateConstOffsetFromGEP: Avoid looking at constant uses (#134685)

We could be more aggressive and inspect uses of global variables,
if the use context instruction is in the same function.



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