OSDN Git Service

add another level of caching for non-local pointer queries, keeping
authorChris Lattner <sabre@nondot.org>
Mon, 8 Dec 2008 07:31:50 +0000 (07:31 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 8 Dec 2008 07:31:50 +0000 (07:31 +0000)
commit11dcd8d38de031c34380fd6ab7a0daacdefb263a
tree773d6567f37f5c2218bdd6bff12bc9bf28f3981f
parent59779c56053d150cf93b80bf90f7ae7839f8d219
add another level of caching for non-local pointer queries, keeping
track of whether the CachedNonLocalPointerInfo for a block is specific
to a block.  If so, just return it without any pred scanning.  This is
good for a 6% speedup on GVN (when it uses this lookup method, which
it doesn't right now).

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