diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 0e9381dbc61..c5cc2cb6fcd 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -16801,9 +16801,9 @@ static SDValue PerformSELECTCombine(SDNode *N, SelectionDAG &DAG, // Try to match a min/max vector operation. if (N->getOpcode() == ISD::VSELECT && Cond.getOpcode() == ISD::SETCC) { - unsigned Opc; - bool NeedSplit; - std::tie(Opc, NeedSplit) = matchIntegerMINMAX(Cond, VT, LHS, RHS, DAG, Subtarget); + std::pair ret = matchIntegerMINMAX(Cond, VT, LHS, RHS, DAG, Subtarget); + unsigned Opc = ret.first; + bool NeedSplit = ret.second; if (Opc && NeedSplit) { unsigned NumElems = VT.getVectorNumElements();