[all-commits] [llvm/llvm-project] 87a0b1: [InstSimplify] Remove zero-index opaque pointer GEP

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Feb 10 07:02:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87a0b1bd233a3680c32a6e17acf147d0fe90c9e9
      https://github.com/llvm/llvm-project/commit/87a0b1bd233a3680c32a6e17acf147d0fe90c9e9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    A llvm/test/Transforms/InstSimplify/opaque-ptr.ll

  Log Message:
  -----------
  [InstSimplify] Remove zero-index opaque pointer GEP

With opaque pointers, a zero-index GEP is a no-op. It does not
need to be retained for the pointer element type change it may
perform.




More information about the All-commits mailing list