llvm-project/llvm/test/Analysis/BranchProbabilityInfo
Jun Bum Lim a23e5f7516 Enhance BranchProbabilityInfo::calcUnreachableHeuristics for InvokeInst
This is recommit of r256028 with minor fixes in unittests:
  CodeGen/Mips/eh.ll
  CodeGen/Mips/insn-zero-size-bb.ll

Original commit message:

When identifying blocks post-dominated by an unreachable-terminated block
in BranchProbabilityInfo, consider only the edge to the normal destination
block if the terminator is InvokeInst and let calcInvokeHeuristics() decide
edge weights for the InvokeInst.

llvm-svn: 256202
2015-12-21 22:00:51 +00:00
..
basic.ll Use fixed-point representation for BranchProbability. 2015-09-25 23:09:59 +00:00
loop.ll Use fixed-point representation for BranchProbability. 2015-09-25 23:09:59 +00:00
noreturn.ll Enhance BranchProbabilityInfo::calcUnreachableHeuristics for InvokeInst 2015-12-21 22:00:51 +00:00
pr18705.ll Use fixed-point representation for BranchProbability. 2015-09-25 23:09:59 +00:00
pr22718.ll Use fixed-point representation for BranchProbability. 2015-09-25 23:09:59 +00:00