diff options
| author | Sebastian Pop <spop@codeaurora.org> | 2012-03-05 17:39:47 +0000 | 
|---|---|---|
| committer | Sebastian Pop <spop@codeaurora.org> | 2012-03-05 17:39:47 +0000 | 
| commit | 5ce71b18cb37f79d75e6ba2f94c6e868d18016c4 (patch) | |
| tree | 23dbdc5d6b40a4daa2fdd391dd4ff1daa3561422 /llvm/lib/Transforms | |
| parent | 8844e224b869621ba99ccaeee80939b2577c3a14 (diff) | |
| download | bcm5719-llvm-5ce71b18cb37f79d75e6ba2f94c6e868d18016c4.tar.gz bcm5719-llvm-5ce71b18cb37f79d75e6ba2f94c6e868d18016c4.zip | |
fix typos
llvm-svn: 152035
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/BBVectorize.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/llvm/lib/Transforms/Vectorize/BBVectorize.cpp b/llvm/lib/Transforms/Vectorize/BBVectorize.cpp index 67add271a04..32eec7974b0 100644 --- a/llvm/lib/Transforms/Vectorize/BBVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/BBVectorize.cpp @@ -495,7 +495,7 @@ namespace {      // A set of pairs has now been selected. It is now necessary to replace the      // paired instructions with vector instructions. For this procedure each -    // operand much be replaced with a vector operand. This vector is formed +    // operand must be replaced with a vector operand. This vector is formed      // by using build_vector on the old operands. The replaced values are then      // replaced with a vector_extract on the result.  Subsequent optimization      // passes should coalesce the build/extract combinations. @@ -1045,7 +1045,7 @@ namespace {        PrunedTree.insert(QTop.first);        // Visit each child, pruning as necessary... -      DenseMap<ValuePair, size_t> BestChilden; +      DenseMap<ValuePair, size_t> BestChildren;        VPPIteratorPair QTopRange = ConnectedPairs.equal_range(QTop.first);        for (std::multimap<ValuePair, ValuePair>::iterator K = QTopRange.first;             K != QTopRange.second; ++K) { @@ -1078,7 +1078,7 @@ namespace {          bool CanAdd = true;          for (DenseMap<ValuePair, size_t>::iterator C2 -              = BestChilden.begin(), E2 = BestChilden.end(); +              = BestChildren.begin(), E2 = BestChildren.end();               C2 != E2; ++C2) {            if (C2->first.first == C->first.first ||                C2->first.first == C->first.second || @@ -1163,22 +1163,22 @@ namespace {          // conflict is found, then remove the previously-selected child          // before adding this one in its place.          for (DenseMap<ValuePair, size_t>::iterator C2 -              = BestChilden.begin(); C2 != BestChilden.end();) { +              = BestChildren.begin(); C2 != BestChildren.end();) {            if (C2->first.first == C->first.first ||                C2->first.first == C->first.second ||                C2->first.second == C->first.first ||                C2->first.second == C->first.second ||                pairsConflict(C2->first, C->first, PairableInstUsers)) -            BestChilden.erase(C2++); +            BestChildren.erase(C2++);            else              ++C2;          } -        BestChilden.insert(ValuePairWithDepth(C->first, C->second)); +        BestChildren.insert(ValuePairWithDepth(C->first, C->second));        }        for (DenseMap<ValuePair, size_t>::iterator C -            = BestChilden.begin(), E2 = BestChilden.end(); +            = BestChildren.begin(), E2 = BestChildren.end();             C != E2; ++C) {          size_t DepthF = getDepthFactor(C->first.first);          Q.push_back(ValuePairWithDepth(C->first, QTop.second+DepthF)); | 

