[llvm] r258567 - fix typos; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 22 14:09:41 PST 2016
Author: spatel
Date: Fri Jan 22 16:09:41 2016
New Revision: 258567
URL: http://llvm.org/viewvc/llvm-project?rev=258567&view=rev
Log:
fix typos; 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=258567&r1=258566&r2=258567&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Fri Jan 22 16:09:41 2016
@@ -13552,7 +13552,7 @@ static SDValue LowerTruncateVecI1(SDValu
SDValue In = Op.getOperand(0);
MVT InVT = In.getSimpleValueType();
- assert(VT.getVectorElementType() == MVT::i1 && "Unexected vector type.");
+ assert(VT.getVectorElementType() == MVT::i1 && "Unexpected vector type.");
// Shift LSB to MSB and use VPMOVB2M - SKX.
unsigned ShiftInx = InVT.getScalarSizeInBits() - 1;
@@ -13585,7 +13585,7 @@ static SDValue LowerTruncateVecI1(SDValu
if (InVT.getSizeInBits() < 512 &&
(InVT.getScalarType() == MVT::i8 || InVT.getScalarType() == MVT::i16 ||
!Subtarget->hasVLX())) {
- assert((NumElts == 8 || NumElts == 16) && "Unexected vector type.");
+ assert((NumElts == 8 || NumElts == 16) && "Unexpected vector type.");
// TESTD/Q should be used (if BW supported we use CVT2MASK above),
// so vector should be extended to packed dword/qword.
More information about the llvm-commits
mailing list