[all-commits] [llvm/llvm-project] 9c7848: [SeparateConstOffsetFromGEP] Support multiple indi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon May 20 23:37:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c7848171779dffb2e23cc7db6b518612e804a74
      https://github.com/llvm/llvm-project/commit/9c7848171779dffb2e23cc7db6b518612e804a74
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

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

  Log Message:
  -----------
  [SeparateConstOffsetFromGEP] Support multiple indices in reorderGEP (#92339)

The code was essentially already ready to handle multiple indices -- we
only need to adjust the non-negative index check to check all indices,
instead of only the first one.



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