[all-commits] [llvm/llvm-project] 3e2ae9: [SCEV] Remove an unnecessary GEP type check

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 25 03:57:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e2ae92d3f062f47b7cc8103e9a6c15b815d9018
      https://github.com/llvm/llvm-project/commit/3e2ae92d3f062f47b7cc8103e9a6c15b815d9018
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Remove an unnecessary GEP type check

The code already checked that the addrec step size and type alloc
size are the same. The actual pointer element type is irrelevant
here.




More information about the All-commits mailing list