mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 02:07:16 +00:00
Fix comment /NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317514 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4cbab70b62
commit
cebfaaf903
@ -192,11 +192,12 @@ JumpThreadingPass::JumpThreadingPass(int T) {
|
||||
// P(cond == true ) = P(A) + P(cond == true | B) * P(B)
|
||||
//
|
||||
// which gives us:
|
||||
// P(A) <= P(c == true), i.e.
|
||||
// P(A) is less than P(cond == true), i.e.
|
||||
// P(t == true) <= P(cond == true)
|
||||
//
|
||||
// In other words, if we know P(cond == true), we know that P(t == true)
|
||||
// can not be greater than 1%.
|
||||
// In other words, if we know P(cond == true) is unlikely, we know
|
||||
// that P(t == true) is also unlikely.
|
||||
//
|
||||
static void updatePredecessorProfileMetadata(PHINode *PN, BasicBlock *BB) {
|
||||
BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());
|
||||
if (!CondBr)
|
||||
|
Loading…
Reference in New Issue
Block a user