forked from OSchip/llvm-project
parent
c13f05c978
commit
c53dd2ac01
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue