Move this test a bit later, after the point at which we know that we either
authorDuncan Sands <baldrick@free.fr>
Fri, 5 Oct 2012 07:29:46 +0000 (07:29 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 5 Oct 2012 07:29:46 +0000 (07:29 +0000)
commit3372c5a50fba4e4d277ba627a6b711e3df5f493d
tree8614dbdb7bd86aa234b07a44a5ed7a40f0d0f72b
parente66f3d3ba0ea9f82f65a29c47fc37e997cbf0ace
Move this test a bit later, after the point at which we know that we either
have an alloca or a parameter, since then the alloca test should make sense
to readers, while before it probably appears too specific.  No functionality
change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165306 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/MemCpyOptimizer.cpp