This broke lots. Reverting.
authorBill Wendling <isanbard@gmail.com>
Tue, 23 Oct 2007 22:04:26 +0000 (22:04 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 23 Oct 2007 22:04:26 +0000 (22:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43264 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 4468d16e8c271d5196fccd37a42f318d1683745f..610c898d170511a06e16e192e41d4761f84cbc76 100644 (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();