From: Elena Demikhovsky Date: Tue, 8 Sep 2015 07:34:06 +0000 (+0000) Subject: compilation issue, NFC X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=27828d7a5e1624965699cdb6bc0716005ded310e;p=oota-llvm.git compilation issue, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246983 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 19de1baf12d..842f6c3025d 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -4732,9 +4732,9 @@ static bool getTargetShuffleMask(SDNode *N, MVT VT, if (MaskNode->getOpcode() == ISD::BUILD_VECTOR) { // If we have a build-vector, then things are easy. - EVT MaskVT = MaskNode.getValueType(); - assert(MaskVT.isInteger() && - MaskVT.getVectorNumElements() == VT.getVectorNumElements()); + assert(MaskNode.getValueType().isInteger() && + MaskNode.getValueType().getVectorNumElements() == + VT.getVectorNumElements()); SmallVector RawMask; unsigned MaskLoBits = Log2_64(VT.getVectorNumElements()*2);