diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-04-15 05:18:47 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-04-15 05:18:47 +0000 |
| commit | 0ab5e2cdedba59b4f81152d72d70e1796f796834 (patch) | |
| tree | 2b0d5d1a27ca9c3a382b2c0ed091fd7aebc857cc /llvm/lib/Analysis/BasicAliasAnalysis.cpp | |
| parent | b5e3e9dd27dce1b3bb10c4f453cea84a0b35bbca (diff) | |
| download | bcm5719-llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.tar.gz bcm5719-llvm-0ab5e2cdedba59b4f81152d72d70e1796f796834.zip | |
Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!
llvm-svn: 129558
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
| -rw-r--r-- | llvm/lib/Analysis/BasicAliasAnalysis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp index f7bcd9ec44d..be8ef96a878 100644 --- a/llvm/lib/Analysis/BasicAliasAnalysis.cpp +++ b/llvm/lib/Analysis/BasicAliasAnalysis.cpp @@ -350,7 +350,7 @@ DecomposeGEPExpression(const Value *V, int64_t &BaseOffs, Scale *= IndexScale.getSExtValue(); - // If we already had an occurrance of this index variable, merge this + // If we already had an occurrence of this index variable, merge this // scale into it. For example, we want to handle: // A[x][x] -> x*16 + x*4 -> x*20 // This also ensures that 'x' only appears in the index list once. @@ -883,7 +883,7 @@ BasicAliasAnalysis::aliasGEP(const GEPOperator *GEP1, uint64_t V1Size, if (GEP1BaseOffset == 0 && GEP1VariableIndices.empty()) return MustAlias; - // If there is a difference betwen the pointers, but the difference is + // If there is a difference between the pointers, but the difference is // less than the size of the associated memory object, then we know // that the objects are partially overlapping. if (GEP1BaseOffset != 0 && GEP1VariableIndices.empty()) { |

