[all-commits] [llvm/llvm-project] 6fc8ec: [InstCombine] Restore splat gep support in Optimiz...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jun 13 03:30:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fc8ec720ea590bbdb94e19acefaf5bafdfcf817
      https://github.com/llvm/llvm-project/commit/6fc8ec720ea590bbdb94e19acefaf5bafdfcf817
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/sub-gep.ll

  Log Message:
  -----------
  [InstCombine] Restore splat gep support in OptimizePointerDifference() (#143906)

When looking for the common base pointer, support the case where the
type changes because the GEP goes from pointer to vector of pointers.
This was supported prior to #142958.



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