]> granicus.if.org Git - llvm/commit
MemorySSA: Add support for caching clobbering access in stores
authorDaniel Berlin <dberlin@dberlin.org>
Sun, 2 Apr 2017 05:09:15 +0000 (05:09 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Sun, 2 Apr 2017 05:09:15 +0000 (05:09 +0000)
commitfe76989fe741bc78b151220e4d237bfd28ff4d04
tree11beb597e0c0b48ec0c82683d1189f6527606cf0
parent548688adbde4f76a7ad891c68f81cab7950b978b
MemorySSA: Add support for caching clobbering access in stores

Summary:
This enables us to cache the clobbering access for stores, despite the
fact that we can't rewrite the use-def chains themselves.

Early testing shows that, after this change, for larger testcases, it will be a significant net positive (memory and time) to remove the walker caching.

Reviewers: george.burgess.iv, davide

Subscribers: Prazek, llvm-commits

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

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