From: Brian M. Rzycki Date: Fri, 8 Dec 2017 19:36:32 +0000 (+0000) Subject: [JumpThreading] Minor comment cleanup. NFC. (test commit) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f18499689b498723e476e9b1eab7854050111a7;p=llvm [JumpThreading] Minor comment cleanup. NFC. (test commit) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320179 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/JumpThreading.cpp b/lib/Transforms/Scalar/JumpThreading.cpp index e6cab3f34cf..6b0377e0ecb 100644 --- a/lib/Transforms/Scalar/JumpThreading.cpp +++ b/lib/Transforms/Scalar/JumpThreading.cpp @@ -188,14 +188,14 @@ JumpThreadingPass::JumpThreadingPass(int T) { // // Given that P(cond == true) = P(cond == true | A) * P(A) + // P(cond == true | B) * P(B) -// we get +// we get: // P(cond == true ) = P(A) + P(cond == true | B) * P(B) // // which gives us: // 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) is unlikely, we know +// 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) {