[all-commits] [llvm/llvm-project] 371612: [SCEV] Reuse Accum variable when handling GEP flags

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue May 2 02:04:07 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 371612500afa4ffcdd411f585a427edb5cd037f7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

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

  Log Message:
  [SCEV] Reuse Accum variable when handling GEP flags

The GEP minus the base pointer (which is the pre-inc addrec) is
exactly the Accum value that was already calculated.

More information about the All-commits mailing list