Skip to content

Commit ca7f5be

Browse files
[X86ISelLowering] Fixed typo in assert. NFCI.
1 parent cbc872a commit ca7f5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21722,7 +21722,7 @@ static SDValue LowerSIGN_EXTEND(SDValue Op, const X86Subtarget &Subtarget,
2172221722
return LowerSIGN_EXTEND_Mask(Op, Subtarget, DAG);
2172321723

2172421724
assert(VT.isVector() && InVT.isVector() && "Expected vector type");
21725-
assert(VT.getVectorNumElements() == VT.getVectorNumElements() &&
21725+
assert(VT.getVectorNumElements() == InVT.getVectorNumElements() &&
2172621726
"Expected same number of elements");
2172721727
assert((VT.getVectorElementType() == MVT::i16 ||
2172821728
VT.getVectorElementType() == MVT::i32 ||

0 commit comments

Comments
 (0)