From: Chris Lattner Date: Mon, 5 Apr 2010 20:11:45 +0000 (+0000) Subject: lowering a volatile llvm.memcpy to a libc memcpy is ok. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5c06a20814875d4b073204d5662491a4d00d7880;p=oota-llvm.git lowering a volatile llvm.memcpy to a libc memcpy is ok. PR6779 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100457 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 103872fe2ad..9b1e963f99d 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3519,7 +3519,6 @@ SDValue SelectionDAG::getMemcpy(SDValue Chain, DebugLoc dl, SDValue Dst, } // Emit a library call. - assert(!isVol && "library memcpy does not support volatile"); TargetLowering::ArgListTy Args; TargetLowering::ArgListEntry Entry; Entry.Ty = TLI.getTargetData()->getIntPtrType(*getContext());