1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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

llvm-svn: 320179
This commit is contained in:
Brian M. Rzycki 2017-12-08 19:36:32 +00:00
parent 6642e6b86e
commit 35d2478535

View File

@ -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) {