From dafe3a524aa2aa23f0a0653c2c7754e4ce4ca97f Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Fri, 24 Apr 2015 15:46:41 +0000 Subject: [PATCH] Fix typo in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235723 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/BranchProbabilityInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/BranchProbabilityInfo.cpp b/lib/Analysis/BranchProbabilityInfo.cpp index 8799a710af0..036da5f16eb 100644 --- a/lib/Analysis/BranchProbabilityInfo.cpp +++ b/lib/Analysis/BranchProbabilityInfo.cpp @@ -191,7 +191,7 @@ bool BranchProbabilityInfo::calcMetadataWeights(BasicBlock *BB) { return false; // Build up the final weights that will be used in a temporary buffer, but - // don't add them until all weihts are present. Each weight value is clamped + // don't add them until all weights are present. Each weight value is clamped // to [1, getMaxWeightFor(BB)]. uint32_t WeightLimit = getMaxWeightFor(BB); SmallVector Weights;