From 59c38f31acf87901208bbf790508196b1c0ad1fd Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Thu, 17 Jun 2010 17:58:54 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 1 + 1 file changed, 1 insertion(+) 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);