This change tries to fix a place missing moveAndDanglePseudoProbes . In FoldValueComparisonIntoPredecessors, it folds the BB into predecessors and then marked the BB unreachable. However, the original logic from the BB is still alive, deleting the probe will mislead the SampleLoader mark it as zero count sample.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, thanks.
As discussed offline, we may want to experiment treating all missing probes as dangling in the final pass of the pipeline and see how effective the counts inference can be. This would avoid such ad-hoc fixes including the previous ones we made.