[llvm] r191133 - Fix the buildbot

Juergen Ributzka juergen at apple.com
Fri Sep 20 22:15:01 PDT 2013


Author: ributzka
Date: Sat Sep 21 00:15:01 2013
New Revision: 191133

URL: http://llvm.org/viewvc/llvm-project?rev=191133&view=rev
Log:
Fix the buildbot

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=191133&r1=191132&r2=191133&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sat Sep 21 00:15:01 2013
@@ -16801,9 +16801,9 @@ static SDValue PerformSELECTCombine(SDNo
 
   // 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();





More information about the llvm-commits mailing list