[PATCH] D17157: Add the beginnings of an update API for preserving MemorySSA
Daniel Berlin via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 11 10:59:05 PST 2016
dberlin created this revision.
dberlin added reviewers: hfinkel, reames.
dberlin added a subscriber: llvm-commits.
This adds the beginning of an update API to preserve MemorySSA. In particular,
this patch adds a way to remove memory SSA accesses when instructions are
deleted.
It also adds relevant unit testing infrastructure for MemorySSA's API.
(There is an actual user of this API, i will make that diff dependent on this one. In practice, a ton of opt passes remove memory instructions, so it's hopefully an obviously useful API :P)
http://reviews.llvm.org/D17157
Files:
include/llvm/Transforms/Utils/MemorySSA.h
lib/Transforms/Utils/MemorySSA.cpp
unittests/Transforms/Utils/CMakeLists.txt
unittests/Transforms/Utils/MemorySSA.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17157.47685.patch
Type: text/x-patch
Size: 10761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160211/5fd95b0c/attachment.bin>
More information about the llvm-commits
mailing list