From: Evan Cheng Date: Thu, 23 Mar 2006 20:26:04 +0000 (+0000) Subject: Typo X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8fc23cd0e90966f534761f0252d7fbae57c40f91;p=oota-llvm.git Typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26997 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index e7e8c4f1987..2a4c57d118f 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -1385,7 +1385,7 @@ bool X86::isPSHUFDMask(SDNode *N) { // Check if the value doesn't reference the second vector. SDOperand Elt = N->getOperand(0); assert(isa(Elt) && "Invalid VECTOR_SHUFFLE mask!"); - for (unsigned i = 1, e = N->getNumOperands(); i != e; ++i) { + for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) { assert(isa(N->getOperand(i)) && "Invalid VECTOR_SHUFFLE mask!"); if (cast(N->getOperand(i))->getValue() >= 4) return false;