aboutsummaryrefslogtreecommitdiffstats
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
commitb1074fff4cc946ff0fd10e7dccca3b73181f4e6a (patch)
tree0c37d55c54fabfde65df2d9cd7553529db00be63
parent17ffe684ef54997788afed83c25b2de176342780 (diff)
downloadexternal_llvm-b1074fff4cc946ff0fd10e7dccca3b73181f4e6a.zip
external_llvm-b1074fff4cc946ff0fd10e7dccca3b73181f4e6a.tar.gz
external_llvm-b1074fff4cc946ff0fd10e7dccca3b73181f4e6a.tar.bz2
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
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 103872f..9b1e963 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());