[llvm] r320179 - [JumpThreading] Minor comment cleanup. NFC. (test commit)

Brian M. Rzycki via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 11:36:33 PST 2017


Author: brzycki
Date: Fri Dec  8 11:36:32 2017
New Revision: 320179

URL: http://llvm.org/viewvc/llvm-project?rev=320179&view=rev
Log:
[JumpThreading] Minor comment cleanup. NFC. (test commit)


Modified:
    llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp?rev=320179&r1=320178&r2=320179&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp Fri Dec  8 11:36:32 2017
@@ -188,14 +188,14 @@ JumpThreadingPass::JumpThreadingPass(int
 //
 //  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) {




More information about the llvm-commits mailing list