Revert r131152, r129796, r129761. This code is currently considered
authorDan Gohman <gohman@apple.com>
Thu, 1 Sep 2011 23:07:08 +0000 (23:07 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 1 Sep 2011 23:07:08 +0000 (23:07 +0000)
commit6b13cd415493187b4c597fc1a60fae314067cdb2
tree7f8c192df24bf63bad67ef8f15b05f8a1f651da4
parent36a16015ac108e2f0dd2d6d96a6d364bc74c50d7
Revert r131152, r129796, r129761. This code is currently considered
to be unreliable on platforms which require memcpy calls, and it is
complicating broader legalize cleanups. It is hoped that these cleanups
will make memcpy byval easier to implement in the future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138977 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/ARM/2011-06-09-TailCallByVal.ll
test/CodeGen/Mips/cprestore.ll
test/CodeGen/Mips/largeimmprinting.ll
test/CodeGen/Thumb/2011-05-11-DAGLegalizer.ll