OSDN Git Service

MemorySSA: Remove MemorySSA walker caching.
authorDaniel Berlin <dberlin@dberlin.org>
Wed, 5 Apr 2017 19:01:58 +0000 (19:01 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Wed, 5 Apr 2017 19:01:58 +0000 (19:01 +0000)
commitd6a6d70f0504bdcd5536cc693bf77b2e64d60d10
tree8e21a7a595f99dfcbb56c6b082c01687ec4062c5
parent12290fa787b87a34733395379e0a092598c80580
MemorySSA: Remove MemorySSA walker caching.

Summary:
Remove all the caching the clobber walker does, and that the
caching walker does.  With the patch to enable storing clobbering
access results for stores, i can find no improvement with the cache
turned on (and a number of degradations, both time and memory, from
the cost of caching.  For a large program i have, we do millions of
lookups and inserts with zero hits).

I haven't tried to rename or simplify the walker otherwise yet.

(Appreciate some perf testing on this past my own testing)

Reviewers: george.burgess.iv, davide

Subscribers: Prazek, llvm-commits

Differential Revision: https://reviews.llvm.org/D31576

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299578 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/MemorySSA.cpp