forked from OSchip/llvm-project
[X86][SSE] Fixed description for isSequentialOrUndefInRange. NFC.
llvm-svn: 225202
This commit is contained in:
parent
28bb02a8c7
commit
71b96b35e1
|
|
@ -3906,7 +3906,7 @@ static bool isUndefOrEqual(int Val, int CmpVal) {
|
||||||
|
|
||||||
/// isSequentialOrUndefInRange - Return true if every element in Mask, beginning
|
/// isSequentialOrUndefInRange - Return true if every element in Mask, beginning
|
||||||
/// from position Pos and ending in Pos+Size, falls within the specified
|
/// from position Pos and ending in Pos+Size, falls within the specified
|
||||||
/// sequential range (L, L+Pos]. or is undef.
|
/// sequential range (Low, Low+Size]. or is undef.
|
||||||
static bool isSequentialOrUndefInRange(ArrayRef<int> Mask,
|
static bool isSequentialOrUndefInRange(ArrayRef<int> Mask,
|
||||||
unsigned Pos, unsigned Size, int Low) {
|
unsigned Pos, unsigned Size, int Low) {
|
||||||
for (unsigned i = Pos, e = Pos+Size; i != e; ++i, ++Low)
|
for (unsigned i = Pos, e = Pos+Size; i != e; ++i, ++Low)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue