]> granicus.if.org Git - llvm/commitdiff
Fix comment /NFC
authorXinliang David Li <davidxl@google.com>
Mon, 6 Nov 2017 21:57:51 +0000 (21:57 +0000)
committerXinliang David Li <davidxl@google.com>
Mon, 6 Nov 2017 21:57:51 +0000 (21:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317514 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/JumpThreading.cpp

index ade4fbbcb6f2f157fe7ff97bf4b3fb707ec66567..e6cab3f34cf0d7ab39a2447b52f51a4aeff57a7a 100644 (file)
@@ -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)