[llvm-commits] [llvm] r110135 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Dan Gohman
gohman at apple.com
Tue Aug 3 13:23:52 PDT 2010
Author: djg
Date: Tue Aug 3 15:23:52 2010
New Revision: 110135
URL: http://llvm.org/viewvc/llvm-project?rev=110135&view=rev
Log:
The singular of "indices" is "index".
Modified:
llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp?rev=110135&r1=110134&r2=110135&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp Tue Aug 3 15:23:52 2010
@@ -427,11 +427,11 @@
return NoAA::getModRefInfo(CS1, CS2);
}
-/// GetIndiceDifference - Dest and Src are the variable indices from two
+/// GetIndexDifference - Dest and Src are the variable indices from two
/// decomposed GetElementPtr instructions GEP1 and GEP2 which have common base
/// pointers. Subtract the GEP2 indices from GEP1 to find the symbolic
/// difference between the two pointers.
-static void GetIndiceDifference(
+static void GetIndexDifference(
SmallVectorImpl<std::pair<const Value*, int64_t> > &Dest,
const SmallVectorImpl<std::pair<const Value*, int64_t> > &Src) {
if (Src.empty()) return;
@@ -515,7 +515,7 @@
// Subtract the GEP2 pointer from the GEP1 pointer to find out their
// symbolic difference.
GEP1BaseOffset -= GEP2BaseOffset;
- GetIndiceDifference(GEP1VariableIndices, GEP2VariableIndices);
+ GetIndexDifference(GEP1VariableIndices, GEP2VariableIndices);
} else {
// Check to see if these two pointers are related by the getelementptr
More information about the llvm-commits
mailing list