[llvm] r225202 - [X86][SSE] Fixed description for isSequentialOrUndefInRange. NFC.

Simon Pilgrim llvm-dev at redking.me.uk
Mon Jan 5 13:09:48 PST 2015


Author: rksimon
Date: Mon Jan  5 15:09:48 2015
New Revision: 225202

URL: http://llvm.org/viewvc/llvm-project?rev=225202&view=rev
Log:
[X86][SSE] Fixed description for isSequentialOrUndefInRange. NFC.


Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=225202&r1=225201&r2=225202&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon Jan  5 15:09:48 2015
@@ -3906,7 +3906,7 @@ static bool isUndefOrEqual(int Val, int
 
 /// isSequentialOrUndefInRange - Return true if every element in Mask, beginning
 /// 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,
                                        unsigned Pos, unsigned Size, int Low) {
   for (unsigned i = Pos, e = Pos+Size; i != e; ++i, ++Low)





More information about the llvm-commits mailing list