Expose must/may alias info in MemorySSA.
authorAlina Sbirlea <asbirlea@google.com>
Thu, 8 Mar 2018 18:03:14 +0000 (18:03 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Thu, 8 Mar 2018 18:03:14 +0000 (18:03 +0000)
commitd90c9f4a3c2f727df24c404a916df84983fb48c0
treec2381a31cb2cd648fc225ba450ef0d21cd3d3a5a
parent7325d12f580a1bffe8d9f0c34fdbefa911c3eb88
Expose must/may alias info in MemorySSA.

Summary:
Building MemorySSA gathers alias information for Defs/Uses.
Store and expose this information when optimizing uses (when building MemorySSA),
and when optimizing defs or updating uses (getClobberingMemoryAccess).
Current patch does not propagate alias information through MemoryPhis.

Reviewers: gbiv, dberlin

Subscribers: Prazek, sanjoy, llvm-commits

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

llvm-svn: 327035
llvm/include/llvm/Analysis/MemorySSA.h
llvm/lib/Analysis/MemorySSA.cpp
llvm/unittests/Analysis/MemorySSA.cpp