mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c06a20814
commit
7b55d3665c
@ -3518,6 +3518,12 @@ SDValue SelectionDAG::getMemcpy(SDValue Chain, DebugLoc dl, SDValue Dst,
|
||||
true, DstSV, DstSVOff, SrcSV, SrcSVOff);
|
||||
}
|
||||
|
||||
// FIXME: If the memcpy is volatile (isVol), lowering it to a plain libc
|
||||
// memcpy is not guaranteed to be safe. libc memcpys aren't required to
|
||||
// respect volatile, so they may do things like read or write memory
|
||||
// beyond the given memory regions. But fixing this isn't easy, and most
|
||||
// people don't care.
|
||||
|
||||
// Emit a library call.
|
||||
TargetLowering::ArgListTy Args;
|
||||
TargetLowering::ArgListEntry Entry;
|
||||
|
Loading…
Reference in New Issue
Block a user