[llvm-commits] [llvm] r133776 - in /llvm/trunk: include/llvm/Analysis/BlockFrequencyImpl.h include/llvm/Analysis/BranchProbabilityInfo.h lib/Analysis/BranchProbabilityInfo.cpp

Jakub Staszak jstaszak at apple.com
Fri Jun 24 09:41:49 PDT 2011


On Jun 23, 2011, at 10:24 PM, Andrew Trick wrote:

> You also made this change, which may have fixed the original problem:
>> uint32_t Numerator = START_FREQ - CProb ? START_FREQ - CProb : 1;
> 
> To me that implies a loop with zero probability of exiting. If so, please comment.

Yes, it means infinite loop. I will comment that.

-Kuba

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110624/652e21fc/attachment.html>


More information about the llvm-commits mailing list