[all-commits] [llvm/llvm-project] de2ed8: [InstCombine] Extract GEP of GEP fold into separat...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 27 05:52:27 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de2ed8e38e73eeda5d13904467fbf263586cd75d
      https://github.com/llvm/llvm-project/commit/de2ed8e38e73eeda5d13904467fbf263586cd75d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-27 (Mon, 27 Dec 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [InstCombine] Extract GEP of GEP fold into separate function

This change may not be entirely NFC, because a number of early
returns will now only early return from this particular fold,
rather than the whole visitGetElementPtr() implementation. This
is also the reason why I'm doing this change, as I don't think
this was intended.




More information about the All-commits mailing list