Look through addrspacecast when checking isDereferenceablePointer
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 14 Jul 2014 18:54:12 +0000 (18:54 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 14 Jul 2014 18:54:12 +0000 (18:54 +0000)
commit97555d1e20f3b63322d9a0a6e9d2192b22854618
treea32dbe81f280f21c470c0e337af656131600bd24
parentbd5603c16ef1953813ffef6d4643699c992d6595
Look through addrspacecast when checking isDereferenceablePointer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212971 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Value.cpp
test/Transforms/LICM/hoist-bitcast-load.ll