[llvm] r260875 - Minor code cleanups. NFC.
Junmo Park via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 14 20:30:38 PST 2016
Author: flyingforyou
Date: Sun Feb 14 22:30:37 2016
New Revision: 260875
URL: http://llvm.org/viewvc/llvm-project?rev=260875&view=rev
Log:
Minor code cleanups. NFC.
Modified:
llvm/trunk/include/llvm/Support/BranchProbability.h
Modified: llvm/trunk/include/llvm/Support/BranchProbability.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/BranchProbability.h?rev=260875&r1=260874&r2=260875&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/BranchProbability.h (original)
+++ llvm/trunk/include/llvm/Support/BranchProbability.h Sun Feb 14 22:30:37 2016
@@ -203,7 +203,7 @@ void BranchProbability::normalizeProbabi
if (Sum <= BranchProbability::getDenominator())
return;
}
-
+
if (Sum == 0) {
BranchProbability BP(1, std::distance(Begin, End));
std::fill(Begin, End, BP);
More information about the llvm-commits
mailing list