From: Jim Grosbach Date: Thu, 17 Jun 2010 17:58:54 +0000 (+0000) Subject: add missing break. inconsequential as the code shouldn't be reached, but X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=59c38f31acf87901208bbf790508196b1c0ad1fd;p=oota-llvm.git add missing break. inconsequential as the code shouldn't be reached, but for correctness' sake, it should be there. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106229 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index c4bbd02d623..04b3fdd85d9 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -2393,6 +2393,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node, case ISD::ATOMIC_CMP_SWAP: { assert (0 && "atomic intrinsic not lowered!"); Results.push_back(Node->getOperand(0)); + break; } case ISD::DYNAMIC_STACKALLOC: ExpandDYNAMIC_STACKALLOC(Node, Results);