[BOLT] Disable DynoStats printing after SCTC
Summary: Introduce new BinaryFunction flag `IsCanonicalCFG`, which gets unset by SCTC pass. Make DynoStats collection conditional on this new flag. SCTC leaves CFG in a state where branch counters of BBs with tail calls/conditional tail calls are not available (except via annotations, which get stripped by `lower-annotations`). Without branch counters, DynoStats are invalid. (cherry picked from FBD24558050)
Loading
Please register or sign in to comment