[all-commits] [llvm/llvm-project] 7df92f: [InstCombine] Remove redundant icmp gep fold (NFCI)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Oct 25 01:31:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7df92fbe74e3c1b41c06f5fc784473f7f22aeed7
      https://github.com/llvm/llvm-project/commit/7df92fbe74e3c1b41c06f5fc784473f7f22aeed7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp

  Log Message:
  -----------
  [InstCombine] Remove redundant icmp gep fold (NFCI)

Gep with zero indices will be folded away independently. It will
only be retained for splat geps, for which the transform is not
applicable anyway.




More information about the All-commits mailing list