Split getDependency into getDependency and getDependencyFrom, the
authorChris Lattner <sabre@nondot.org>
Sat, 29 Nov 2008 03:47:00 +0000 (03:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 29 Nov 2008 03:47:00 +0000 (03:47 +0000)
commit5391a1d8046396fb4dd005b1910973789f5427f4
treedd2a5dc79b55d0f0e685d466973ba182619feba1
parent411052bb96fb4a30035de6cafa492fa4f598e824
Split getDependency into getDependency and getDependencyFrom, the
former does caching, the later doesn't.  This dramatically simplifies
the logic in getDependency and getDependencyFrom.

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