Remove the `else', at Evan's insistence.
authorDan Gohman <gohman@apple.com>
Wed, 27 Feb 2008 19:44:57 +0000 (19:44 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 27 Feb 2008 19:44:57 +0000 (19:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47686 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index d34d209ce3f368e729b34ddd43da18216d06f0a6..7df4c3f2acc4277158736c27a7f9b8506203972a 100644 (file)
@@ -5746,8 +5746,7 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){
     ExpandOp(Node->getOperand(0), Lo, Hi);
     if (cast<ConstantSDNode>(Node->getOperand(1))->getValue())
       return ExpandOp(Hi, Lo, Hi);
-    else
-      return ExpandOp(Lo, Lo, Hi);
+    return ExpandOp(Lo, Lo, Hi);
   case ISD::EXTRACT_VECTOR_ELT:
     assert(VT==MVT::i64 && "Do not know how to expand this operator!");
     // ExpandEXTRACT_VECTOR_ELT tolerates invalid result types.