[all-commits] [llvm/llvm-project] 8a09ad: [InstCombine] Split GEPs with multiple variable in...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jul 30 03:54:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a09adc22adb18387e7c40db076af32b394db288
      https://github.com/llvm/llvm-project/commit/8a09adc22adb18387e7c40db076af32b394db288
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/canonicalize-gep-constglob.ll
    M llvm/test/Transforms/InstCombine/gep-vector.ll
    M llvm/test/Transforms/InstCombine/getelementptr.ll
    M llvm/test/Transforms/InstCombine/icmp-gep.ll
    M llvm/test/Transforms/InstCombine/loadstore-alignment.ll
    M llvm/test/Transforms/InstCombine/pr58901.ll
    M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
    M llvm/test/Transforms/InstCombine/sub.ll

  Log Message:
  -----------
  [InstCombine] Split GEPs with multiple variable indices (#137297)

Split GEPs that have more than one variable index into two. This is in
preparation for the ptradd migration, which will not support multi-index
GEPs.

This also enables the split off part to be CSEd and LICMed.



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