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);