add missing break. inconsequential as the code shouldn't be reached, but
authorJim Grosbach <grosbach@apple.com>
Thu, 17 Jun 2010 17:58:54 +0000 (17:58 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 17 Jun 2010 17:58:54 +0000 (17:58 +0000)
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

index c4bbd02d623b4506eb1e589d56e3bf47a8b0a81f..04b3fdd85d9ae6b54546eeff8944f4a76cab5330 100644 (file)
@@ -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);