mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
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
This commit is contained in:
@@ -3519,7 +3519,6 @@ SDValue SelectionDAG::getMemcpy(SDValue Chain, DebugLoc dl, SDValue Dst,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Emit a library call.
|
// Emit a library call.
|
||||||
assert(!isVol && "library memcpy does not support volatile");
|
|
||||||
TargetLowering::ArgListTy Args;
|
TargetLowering::ArgListTy Args;
|
||||||
TargetLowering::ArgListEntry Entry;
|
TargetLowering::ArgListEntry Entry;
|
||||||
Entry.Ty = TLI.getTargetData()->getIntPtrType(*getContext());
|
Entry.Ty = TLI.getTargetData()->getIntPtrType(*getContext());
|
||||||
|
Reference in New Issue
Block a user