diff options
author | Andrew Trick <atrick@apple.com> | 2012-11-15 18:40:31 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-11-15 18:40:31 +0000 |
commit | 7656f6dbf77d4aa7faa9a903f16ad66a1acc667a (patch) | |
tree | a93fc7de2c54de544836545223761188b0c5a821 /llvm/lib/Transforms/Utils | |
parent | 90f50291185d2ced63be6fa0fecfb01318cee3d3 (diff) | |
download | bcm5719-llvm-7656f6dbf77d4aa7faa9a903f16ad66a1acc667a.tar.gz bcm5719-llvm-7656f6dbf77d4aa7faa9a903f16ad66a1acc667a.zip |
misspell
llvm-svn: 168058
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp index 601a1851be0..4c14aa698fb 100644 --- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp @@ -858,7 +858,7 @@ bool SimplifyCFGOpt::FoldValueComparisonIntoPredecessors(TerminatorInst *TI, if (PredHasWeights) { GetBranchWeights(PTI, Weights); - // branch-weight metadata is inconsistant here. + // branch-weight metadata is inconsistent here. if (Weights.size() != 1 + PredCases.size()) PredHasWeights = SuccHasWeights = false; } else if (SuccHasWeights) @@ -870,7 +870,7 @@ bool SimplifyCFGOpt::FoldValueComparisonIntoPredecessors(TerminatorInst *TI, SmallVector<uint64_t, 8> SuccWeights; if (SuccHasWeights) { GetBranchWeights(TI, SuccWeights); - // branch-weight metadata is inconsistant here. + // branch-weight metadata is inconsistent here. if (SuccWeights.size() != 1 + BBCases.size()) PredHasWeights = SuccHasWeights = false; } else if (PredHasWeights) @@ -1415,7 +1415,7 @@ static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *BB1) { if (BB1V == BIParentV) continue; - // Check for saftey. + // Check for safety. if (ConstantExpr *CE = dyn_cast<ConstantExpr>(BB1V)) { // An unfolded ConstantExpr could end up getting expanded into // Instructions. Don't speculate this and another instruction at |