aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-10-23 22:04:26 +0000
committerBill Wendling <isanbard@gmail.com>2007-10-23 22:04:26 +0000
commit803396fce26270fae6ff0dfba4813f4d4e5002fd (patch)
tree1b5eedbf1fccac9eb8de3bddf884a0521e8db073 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent7feb3be0b76c72134c515995b1a37466171cf83b (diff)
This broke lots. Reverting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 4468d16e8c..610c898d17 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -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();