[PATCH] D113304: [NewPM] Only invalidate modified functions' analyses in CGSCC passes + turn on eagerly invalidate analyses
Alina Sbirlea via Phabricator via cfe-commits
cfe-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>.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits