teach GVN's load PRE to insert computations of the address in predecessors
authorChris Lattner <sabre@nondot.org>
Fri, 27 Nov 2009 08:25:10 +0000 (08:25 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 27 Nov 2009 08:25:10 +0000 (08:25 +0000)
commit616613d7a4ddc7cefce53b2bfe3fdcdec6b032c2
treea21c2231efa530622c802a2907533ef4beb023c4
parentd280d85791c1fad9e625a5e2f472092b0c81c14e
teach GVN's load PRE to insert computations of the address in predecessors
where it is not available.  It's unclear how to get this inserted
computation into GVN's scalar availability sets, Owen, help? :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89997 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/MemoryDependenceAnalysis.h
lib/Analysis/MemoryDependenceAnalysis.cpp
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/pre-load.ll