Fix the buildbot
authorJuergen Ributzka <juergen@apple.com>
Sat, 21 Sep 2013 05:15:01 +0000 (05:15 +0000)
committerJuergen Ributzka <juergen@apple.com>
Sat, 21 Sep 2013 05:15:01 +0000 (05:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191133 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 0e9381dbc61089722c538b932b66e2a1e4a88750..c5cc2cb6fcdfe14f7fd9f73fdd2f6831f75dafaa 100644 (file)
@@ -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<unsigned, bool> ret = matchIntegerMINMAX(Cond, VT, LHS, RHS, DAG, Subtarget);
+    unsigned Opc = ret.first;
+    bool NeedSplit = ret.second;
 
     if (Opc && NeedSplit) {
       unsigned NumElems = VT.getVectorNumElements();