Fix an issue where GVN had the sizes of the two memcpy's reverse, resulting
authorOwen Anderson <resistor@mac.com>
Tue, 26 Feb 2008 23:06:17 +0000 (23:06 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 26 Feb 2008 23:06:17 +0000 (23:06 +0000)
commit77db50f68f9fa5cade9f3a368af4722a76e0c8c5
tree3308cf7c15ff6f1cc0dca5d0e385bb53f43efcc4
parent8e50760dfe28ac1acd595895c965eead98a7d3df
Fix an issue where GVN had the sizes of the two memcpy's reverse, resulting
in an invalid transformation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47639 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/2008-02-26-MemCpySize.ll [new file with mode: 0644]