[all-commits] [llvm/llvm-project] 00ff74: [LoopSimplify] Reduce amount of redundant SCEV inv...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri May 5 01:03:58 PDT 2023

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

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopSimplify.cpp

  Log Message:
  [LoopSimplify] Reduce amount of redundant SCEV invalidation (NFCI)

We are simplifying the loop and all its children. Each time, we
invalidate the top-most loop. The top-most loop is going to be
the same every time. The cost of SCEV invalidation is largely
independent from how data about the loop is actually cached, so
we should avoid redundant invalidations.

More information about the All-commits mailing list