FunctionAnalysisManagerCGSCCProxy should not be preserved if any of its
keys may be invalid. Since we are not removing/adding functions in
FuncAttrs, it's fine to preserve it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This shouldn't help compile times yet since we still end up invalidating all the same analyses in FunctionAnalysisManagerCGSCCProxy::Result::invalidate, but it's a step in that direction.
I want to look into preserving analyses for functions not modified in a CGSCC pass, even if other functions are modified, to help D98103 and compile times in general.