From: Evan Cheng Date: Tue, 14 Feb 2006 19:45:56 +0000 (+0000) Subject: Missed a break so memcpy cases fell through to memset. Doh. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ac940ab1bf21be40f74a83b202419a20ad2e279f;p=oota-llvm.git Missed a break so memcpy cases fell through to memset. Doh. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26176 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index f6749e93073..a9d0cc03db9 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1631,7 +1631,7 @@ void SelectionDAGLowering::visitMemIntrinsic(CallInst &I, unsigned Op) { // if the size operand falls below a certain threshold. std::vector OutChains; switch (Op) { - default: ; // Do nothing for now. + default: break; // Do nothing for now. case ISD::MEMSET: { if (MeetMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemset(), Size->getValue(), Align, TLI)) {