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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to