diff options
| author | Alp Toker <alp@nuanti.com> | 2014-01-24 17:20:08 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-01-24 17:20:08 +0000 |
| commit | cb4029110040c3655a66b5f423d328c749ba6a49 (patch) | |
| tree | ff63cddc3870db1526fd120a14aa690e186239b9 /llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | |
| parent | ad6aa47c20ae7412873029fc6e611b05dc169e10 (diff) | |
| download | bcm5719-llvm-cb4029110040c3655a66b5f423d328c749ba6a49.tar.gz bcm5719-llvm-cb4029110040c3655a66b5f423d328c749ba6a49.zip | |
Fix known typos
Sweep the codebase for common typos. Includes some changes to visible function
names that were misspelt.
llvm-svn: 200018
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp index 3bc8ad3c8c4..5dd3325a0bc 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp @@ -2048,7 +2048,7 @@ static APInt DemandedBitsLHSMask(ICmpInst &I, /// \brief Check if the order of \p Op0 and \p Op1 as operand in an ICmpInst /// should be swapped. -/// The descision is based on how many times these two operands are reused +/// The decision is based on how many times these two operands are reused /// as subtract operands and their positions in those instructions. /// The rational is that several architectures use the same instruction for /// both subtract and cmp, thus it is better if the order of those operands @@ -2064,7 +2064,7 @@ static bool swapMayExposeCSEOpportunities(const Value * Op0, // Each time Op0 is the first operand, count -1: swapping is bad, the // subtract has already the same layout as the compare. // Each time Op0 is the second operand, count +1: swapping is good, the - // subtract has a diffrent layout as the compare. + // subtract has a different layout as the compare. // At the end, if the benefit is greater than 0, Op0 should come second to // expose more CSE opportunities. int GlobalSwapBenefits = 0; |

