llvm-project/polly/lib/Analysis
Philip Pfaffe f081ec7609 [PM] Fix proxy invalidation
Summary: I made a mistake in handling transitive invalidation of analysis results. I've updated the list of preserved analyses as well as the correct result dependences.

The Invalidator passed through the invalidate() path can be used to
transitively invalidate analyses. It frequently happens that analysis
results depend on other analyses, and thus store references to their
results. When the dependee now gets invalidated, the depender needs to
be invalidated as well. This is the purpose of the Invalidator object,
which can be used to check whether some dependee analysis is in the
process of being invalidated. I originally was checking the wrong
dependee analyses, which is an actual error, you can only check analysis
results that are in the cache (which they are if you've captured their
reference). The invalidation I'm handling inside the proxy deals with
the standard analyses the proxy passes into the Scop pipeline, since I'm
capturing their reference.

This checking allows us to actually preserve a couple of results outside
of the proxy, since the Scop pipeline shouldn't break those, or
otherwise should update them accordingly.

Reviewers: grosser, Meinersbur, bollu

Reviewed By: grosser

Subscribers: pollydev, llvm-commits

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

llvm-svn: 309811
2017-08-02 13:18:49 +00:00
..
DependenceInfo.cpp Move MemoryAccess::get*ArrayId to isl++ 2017-07-23 04:08:59 +00:00
PolyhedralInfo.cpp [Polly] Avoid use of `getStmtFor(BB)` in PolyhedralInfo. NFC 2017-07-17 20:58:13 +00:00
PruneUnprofitable.cpp [PruneUnprofitable] Add -polly-prune-unprofitable pass. 2017-03-17 13:09:52 +00:00
ScopBuilder.cpp [ScopBuilder/Simplify] Refactor isEscaping. NFC. 2017-07-27 14:39:52 +00:00
ScopDetection.cpp [SD] Set PollyUseRuntimeAliasChecks correctly 2017-08-02 11:08:01 +00:00
ScopDetectionDiagnostic.cpp [Polly] [OptDiag] Updating Polly Diagnostics Remarks 2017-07-17 23:58:33 +00:00
ScopGraphPrinter.cpp [Polly][NewPM] Port ScopDetection to the new PassManager 2017-05-12 14:37:29 +00:00
ScopInfo.cpp [SI][NewPM] Collect loop count statistics 2017-08-02 11:14:41 +00:00
ScopPass.cpp [PM] Fix proxy invalidation 2017-08-02 13:18:49 +00:00