Fix a crash on invalid code due to memcpy lowering.
authorChris Lattner <sabre@nondot.org>
Tue, 27 Nov 2007 22:14:42 +0000 (22:14 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Nov 2007 22:14:42 +0000 (22:14 +0000)
commit789db09cde5f0cb2a0a5fc175c1141c760a3e807
treeb506c55014bf946dc42cf7ade7e04171bfc0aa35
parenta8d700138ad17ef3d7e865d29a3dd3d85240d944
Fix a crash on invalid code due to memcpy lowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44378 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCRegisterInfo.cpp
test/CodeGen/Generic/invalid-memcpy.ll [new file with mode: 0644]
test/CodeGen/PowerPC/invalid-memcpy.ll [new file with mode: 0644]