summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorJun Bum Lim <junbuml@codeaurora.org>2015-12-18 20:53:47 +0000
committerJun Bum Lim <junbuml@codeaurora.org>2015-12-18 20:53:47 +0000
commit51a247065ef9b501d88b0fdd9dc5e94c7d3e9454 (patch)
tree07e39a1dddd43eef70ff058237dd20af357bca12 /llvm/lib/IR/Module.cpp
parent9c533783c19591379e9e973b17d8b3947f6f2c19 (diff)
downloadbcm5719-llvm-51a247065ef9b501d88b0fdd9dc5e94c7d3e9454.tar.gz
bcm5719-llvm-51a247065ef9b501d88b0fdd9dc5e94c7d3e9454.zip
Enhance BranchProbabilityInfo::calcUnreachableHeuristics for InvokeInst
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: 256028
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud