[PATCH] D113304: [NewPM] Only invalidate modified functions' analyses in CGSCC passes + turn on eagerly invalidate analyses

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 8 14:54:53 PST 2021


asbirlea added a comment.

Thank you for the additional clarifications in the comments and descriptions!

The invalidations are essentially postponed until after the function simplification pipeline with this patch.
Before, everything was invalidated in the SCC pass even if only one function was touched, and nothing was invalidated after the function passes. With this patch, only what is touched is invalidated in the SCC pass, then function passes that follow find analyses available (where functions were unmodified), and only afterwards all function analyses are invalidated in the ModuleToFunction adaptor. The balance is from turning on both D113196 <https://reviews.llvm.org/D113196> and D100917 <https://reviews.llvm.org/D100917>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113304/new/

https://reviews.llvm.org/D113304



More information about the llvm-commits mailing list