When identifying cold blocks, consider only the edge to the normal destination if the terminator is InvokeInst and let calcInvokeHeuristics() decide edge weights for the InvokeInst.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/Analysis/BranchProbabilityInfo/basic.ll | ||
---|---|---|
180 ↗ | (On Diff #72281) | invoket --> invoke |
183 ↗ | (On Diff #72281) | Add a comment here : cold call heuristic |
187 ↗ | (On Diff #72281) | typo -- InvokeCall |
205 ↗ | (On Diff #72281) | invoket --> invoke |
209 ↗ | (On Diff #72281) | Add a comment that cold call heuristic does not kick in when the cold callsite is in EH path |