Fix comment!

llvm-svn: 137521
This commit is contained in:
Bruno Cardoso Lopes 2011-08-12 21:54:42 +00:00
parent c13f05c978
commit c53dd2ac01
1 changed files with 3 additions and 3 deletions

View File

@ -3035,9 +3035,9 @@ static bool isUndefOrEqual(int Val, int CmpVal) {
return false; return false;
} }
/// isUndefOrInRange - Return true if every element in Mask, begining from /// isSequentialOrUndefInRange - Return true if every element in Mask, begining
/// position Pos and ending in Pos+Size, falls within the specified sequential /// from position Pos and ending in Pos+Size, falls within the specified
/// range (L, L+Pos]. or is undef. /// sequential range (L, L+Pos]. or is undef.
static bool isSequentialOrUndefInRange(const SmallVectorImpl<int> &Mask, static bool isSequentialOrUndefInRange(const SmallVectorImpl<int> &Mask,
int Pos, int Size, int Low) { int Pos, int Size, int Low) {
for (int i = Pos, e = Pos+Size; i != e; ++i, ++Low) for (int i = Pos, e = Pos+Size; i != e; ++i, ++Low)