Actually check memcpy lengths, instead of just commenting about
authorDan Gohman <gohman@apple.com>
Fri, 21 Jan 2011 22:07:57 +0000 (22:07 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 21 Jan 2011 22:07:57 +0000 (22:07 +0000)
commit8fb25c53bdc22a1f480ac0a6c0215a23f397deb3
treeb2cdfd68bc01d2252d2b6b0f9fa03ec2825ffafe
parentfc3faa75cbadd8a1020941ec85adfda1d2f49688
Actually check memcpy lengths, instead of just commenting about
how they should be checked.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123999 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/MemCpyOptimizer.cpp
test/Transforms/MemCpyOpt/smaller.ll [new file with mode: 0644]