[all-commits] [llvm/llvm-project] c8bd3e: [SCEV] Remove unnecessary pointer handling in Buil...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jul 1 07:30:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8bd3e7825a97a8459d579878d80b7c62504d48f
      https://github.com/llvm/llvm-project/commit/c8bd3e7825a97a8459d579878d80b7c62504d48f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-01 (Fri, 01 Jul 2022)

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

  Log Message:
  -----------
  [SCEV] Remove unnecessary pointer handling in BuildConstantFromSCEV (NFCI)

Nowadays, we do not allow pointers in multiplies, and adds can only
have a single pointer, which is also guaranteed to be last by
complexity sorting. As such, we can somewhat simplify the treatment
of pointer types.




More information about the All-commits mailing list