summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-04-24 15:46:41 +0000
committerDiego Novillo <dnovillo@google.com>2015-04-24 15:46:41 +0000
commitaf9fdb9dcfec7fd26dd8085a6311035cd7e863ae (patch)
tree6d7ed428063d3bf444a9007117b8d759ada5f8eb /llvm/lib/Analysis
parenteb0ebc367e1d9b122d189c3d08ddbaf33d6fa7ae (diff)
downloadbcm5719-llvm-af9fdb9dcfec7fd26dd8085a6311035cd7e863ae.tar.gz
bcm5719-llvm-af9fdb9dcfec7fd26dd8085a6311035cd7e863ae.zip
Fix typo in comment.
llvm-svn: 235723
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/BranchProbabilityInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/BranchProbabilityInfo.cpp b/llvm/lib/Analysis/BranchProbabilityInfo.cpp
index 8799a710af0..036da5f16eb 100644
--- a/llvm/lib/Analysis/BranchProbabilityInfo.cpp
+++ b/llvm/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<uint32_t, 2> Weights;
OpenPOWER on IntegriCloud