]> granicus.if.org Git - llvm/commit
[MemorySSA] Extend the clobber walker with the option to skip the starting access.
authorAlina Sbirlea <asbirlea@google.com>
Mon, 7 Jan 2019 18:40:27 +0000 (18:40 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Mon, 7 Jan 2019 18:40:27 +0000 (18:40 +0000)
commitaed2d64e3d078410372c7197db60dd9eae3057e3
tree879d07741cd793e5d9fe2c4b70012a36f47bf8ab
parentf0511a7257e86e00ea907ec9d7b6e36191c019ff
[MemorySSA] Extend the clobber walker with the option to skip the starting access.

Summary:
The option enables loop transformations to hoist accesses that do not
have clobbers in the loop. If the clobber queries skips the starting
access, the result may be outside the loop instead of the header Phi.

Adding the walker that uses this option in a separate patch.

Reviewers: george.burgess.iv

Subscribers: sanjoy, jlebar, Prazek, llvm-commits

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

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