[llvm-commits] [llvm] r142793 - in /llvm/trunk: include/llvm/Analysis/BranchProbabilityInfo.h lib/Analysis/BranchProbabilityInfo.cpp test/Analysis/BranchProbabilityInfo/noreturn.ll

Chandler Carruth chandlerc at gmail.com
Mon Oct 24 10:32:44 PDT 2011


On Mon, Oct 24, 2011 at 10:26 AM, David Blaikie <dblaikie at gmail.com> wrote:

> > However, the return heuristic was flagging one very important case:
> > unreachable. Unfortunately it still gave a 1/4 chance of the
> > branch-to-unreachable occuring. It also didn't do a rigorous job of
> > finding those blocks which post-dominate an unreachable block.
>
> When does this actually come up? When I was experimenting with some
> opt issues a few weeks ago I found unreachable blocks were being
> stripped out very early (in the SimplifyCFG pass), though I expect
> other passes could possibly introduce new ones later on.


After a call to a noreturn function, such as 'abort' or other
process-termination function.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111024/34e643a2/attachment.html>


More information about the llvm-commits mailing list