[DA][NewPM] Handle transitive dependencies in the new-pm version of DA
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Sun, 3 Feb 2019 12:25:41 +0000 (12:25 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Sun, 3 Feb 2019 12:25:41 +0000 (12:25 +0000)
commit9438585fe457d737322a9dde1cf285d76162a021
treea7c0b2c1b0bd1dba541c6a5b985ee9dbe15da742
parent5a570dd4374daaa1ea3110c507d852c68581c4c4
[DA][NewPM] Handle transitive dependencies in the new-pm version of DA

Summary:
The analysis result of DA caches pointers to AA, SCEV, and LI, but it
never checks for their invalidation. Fix that.

Reviewers: chandlerc, dmgreen, bogner

Reviewed By: dmgreen

Subscribers: hiraditya, bollu, javed.absar, llvm-commits

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

llvm-svn: 352986
llvm/include/llvm/Analysis/DependenceAnalysis.h
llvm/lib/Analysis/DependenceAnalysis.cpp
llvm/test/Analysis/DependenceAnalysis/new-pm-invalidation.ll [new file with mode: 0644]