[MemorySSA] Do not create memoryaccesses for debug info intrinsics.
authorAlina Sbirlea <asbirlea@google.com>
Tue, 10 Sep 2019 22:35:27 +0000 (22:35 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Tue, 10 Sep 2019 22:35:27 +0000 (22:35 +0000)
commitf7b4022db1746fb9b22114d83fe690755e7f0cf5
treea039c3998b20715128c175b9af7a3d7e664787e1
parentaac114ca140f323f17cf46d0c0d5319547f20f19
[MemorySSA] Do not create memoryaccesses for debug info intrinsics.

Summary:
Do not model debuginfo intrinsics in MemorySSA.
Regularly these are non-memory modifying instructions. With -disable-basicaa, they were being modelled as Defs.

Reviewers: george.burgess.iv

Subscribers: aprantl, Prazek, sanjoy.google, llvm-commits

Tags: #llvm

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

llvm-svn: 371565
llvm/lib/Analysis/MemorySSA.cpp
llvm/test/Analysis/MemorySSA/debugvalue2.ll [new file with mode: 0644]