[PATCH] D24818: Using branch probability to guide critical edge splitting.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 11:12:04 PDT 2016

danielcdh added a comment.

The bug is fixed:

The assumption "From->isSuccessor(To)" is untrue before calling MBPI->getEdgeProbability(From, To). Add check to make sure From->To edge exists before checking edge probability.


More information about the llvm-commits mailing list