summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-05 20:11:45 +0000
committerChris Lattner <sabre@nondot.org>2010-04-05 20:11:45 +0000
commitbc217873e33f0b135429259597151f85d59469e4 (patch)
treedb32570a6e9ee7fceefbd14b1eddec52ba0eae13 /llvm/lib/CodeGen
parent918a90a3caf064e5d3f73736f8c0a38cc366d1aa (diff)
downloadbcm5719-llvm-bc217873e33f0b135429259597151f85d59469e4.tar.gz
bcm5719-llvm-bc217873e33f0b135429259597151f85d59469e4.zip
lowering a volatile llvm.memcpy to a libc memcpy is ok.
PR6779 llvm-svn: 100457
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 103872fe2ad..9b1e963f99d 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud