[all-commits] [llvm/llvm-project] a301e1: [InstCombine] Split GEPs with multiple non-zero of...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Sep 10 07:52:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a301e1a8952935a67c32ce76982bd50d8179e415
      https://github.com/llvm/llvm-project/commit/a301e1a8952935a67c32ce76982bd50d8179e415
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  Changed paths:
    M clang/test/CodeGen/union-tbaa1.c
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Analysis/BasicAA/featuretest.ll
    M llvm/test/Transforms/InstCombine/2010-11-21-SizeZeroTypeGEP.ll
    M llvm/test/Transforms/InstCombine/gep-merge-constant-indices.ll
    M llvm/test/Transforms/InstCombine/gepofconstgepi8.ll
    M llvm/test/Transforms/InstCombine/gepphigep.ll
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/load-cmp.ll
    M llvm/test/Transforms/InstCombine/opaque-ptr.ll
    M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
    M llvm/test/Transforms/InstCombine/select-gep.ll
    M llvm/test/Transforms/InstCombine/strcmp-3.ll
    M llvm/test/Transforms/InstCombine/strlen-7.ll
    M llvm/test/Transforms/InstCombine/strlen-8.ll
    M llvm/test/Transforms/InstCombine/vectorgep-crash.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve2-histcnt.ll
    M llvm/test/Transforms/LoopVectorize/X86/consecutive-ptr-uniforms.ll
    M llvm/test/Transforms/LoopVectorize/induction.ll
    M llvm/test/Transforms/LoopVectorize/interleaved-accesses-pred-stores.ll
    M llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
    M llvm/test/Transforms/LoopVectorize/reduction-inloop.ll

  Log Message:
  -----------
  [InstCombine] Split GEPs with multiple non-zero offsets (#151333)

Split GEPs that have more than one non-zero offset into two GEPs. This
is in preparation for the ptradd migration, which can only represent
such GEPs.

This also enables CSE and LICM of the common base.



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