[PassTimingInfo] Stop double (or worse) counting passes/analyses
If we nest timers, we end up double counting anything nested. The most egregious is ModuleInlinerWrapperPass/DevirtSCCRepeatedPass showing up as >20% of the total time when they're just wrappers. Analyses also end up getting counted multiple times because they're nested inside wrappers and passes. Ignore ModuleInlinerWrapperPass/DevirtSCCRepeatedPass and put analyses into their own TimerGroup. Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D135219
Loading
Please sign in to comment