forked from OSchip/llvm-project
[X86] Silence GCC enum compare warning.
X86ISelLowering.cpp:26506:36: error: enumeral mismatch in conditional expression: 'llvm::X86ISD::NodeType' vs 'llvm::ISD::NodeType' [-Werror=enum-compare] llvm-svn: 296986
This commit is contained in:
parent
9f5c251d57
commit
bb635e034c
|
@ -26503,8 +26503,8 @@ static bool matchUnaryVectorShuffle(MVT MaskVT, ArrayRef<int> Mask,
|
|||
V1 = extractSubVector(V1, 0, DAG, DL, SrcSize);
|
||||
DstVT = MVT::getIntegerVT(Scale * MaskEltSize);
|
||||
DstVT = MVT::getVectorVT(DstVT, NumDstElts);
|
||||
Shuffle = (SrcVT != MaskVT ? X86ISD::VZEXT
|
||||
: ISD::ZERO_EXTEND_VECTOR_INREG);
|
||||
Shuffle = SrcVT != MaskVT ? unsigned(X86ISD::VZEXT)
|
||||
: unsigned(ISD::ZERO_EXTEND_VECTOR_INREG);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue