OSDN Git Service

use AA::isNoAlias instead of open coding it. Remove an extraneous noalias check:
authorChris Lattner <sabre@nondot.org>
Thu, 18 Nov 2010 07:38:43 +0000 (07:38 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Nov 2010 07:38:43 +0000 (07:38 +0000)
commit245b7f6ec26a8d27c984da4cceb7cfc27abcba6b
treeb970528dfb4e779a907dfda548bb50df91c79d28
parent2e29ebd9e8efefe3ff926aa99cf2e5323665998e
use AA::isNoAlias instead of open coding it.  Remove an extraneous noalias check:
there is no need to check to see if the source and dest of a memcpy are noalias,
behavior is undefined if not.

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