This patch is similar to the one adding a wrapper to BlockFrequencyInfo. The patch creates a wrapper pass for BranchProbabilityInfo. This is useful when we want to do branch probability analysis conditionally (e.g. only in PGO mode) but don't want to add one more pass dependence.
Details
Details
Diff Detail
Diff Detail