[PATCH] D31576: MemorySSA: Remove MemorySSA walker caching.

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 2 01:09:37 PDT 2017


dberlin created this revision.
Herald added a subscriber: Prazek.

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)


https://reviews.llvm.org/D31576

Files:
  lib/Transforms/Utils/MemorySSA.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31576.93771.patch
Type: text/x-patch
Size: 11331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170402/e4151192/attachment.bin>


More information about the llvm-commits mailing list