1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix typo in comment.

llvm-svn: 235723
This commit is contained in:
Diego Novillo 2015-04-24 15:46:41 +00:00
parent e431d494ac
commit e09357e423

View File

@ -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;