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

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


  Branch: refs/heads/users/arsenm/separate-const-offset-from-gep/stop-looking-at-constant-uses
  Home:   https://github.com/llvm/llvm-project
  Commit: a55d6cd3f7e46afbe56ddb37a546ab4970a46fae
      https://github.com/llvm/llvm-project/commit/a55d6cd3f7e46afbe56ddb37a546ab4970a46fae
  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

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