From: Dan Gohman Date: Wed, 27 Feb 2008 19:44:57 +0000 (+0000) Subject: Remove the `else', at Evan's insistence. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=18714aeaed2a74bfc85dc5abe24a9193882406c5;p=oota-llvm.git Remove the `else', at Evan's insistence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47686 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index d34d209ce3f..7df4c3f2acc 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -5746,8 +5746,7 @@ void SelectionDAGLegalize::ExpandOp(SDOperand Op, SDOperand &Lo, SDOperand &Hi){ ExpandOp(Node->getOperand(0), Lo, Hi); if (cast(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.