This broke lots. Reverting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2007-10-23 22:04:26 +00:00
parent 7feb3be0b7
commit 803396fce2

View File

@ -4302,10 +4302,6 @@ void SelectionDAGLowering::visitMemIntrinsic(CallInst &I, unsigned Op) {
break;
}
case ISD::MEMCPY: {
// FIXME: Disabling memcpy lowering for copying onto the stack.
if (Op1.getOpcode() == ISD::FrameIndex)
break;
if (MeetsMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemcpy(),
Size->getValue(), Align, TLI)) {
unsigned NumMemOps = MemOps.size();