llvm-project/polly/lib/Analysis
Eli Friedman efe18d3977 [ScopDetection] Use addUnknown for calls in the AliasSetTracker.
The general-purpose add() now sometimes adds unexpected loop-variant
pointers to the AliasSetTracker, so certain loops would be rejected with
-polly-allow-modref-calls.  Use addUnknown() instead, which has the old
behavior.

I'm not completely convinced the resulting behavior is actually
correct: ScopDetection::isValidAccess seems to mostly ignore
"unknown" instructions in the AliasSetTracker.  But it's not any worse
than what was happening before.

Committing without pre-commit review to unbreak the buildbots; the
following tests were failing:

test/ScopInfo/mod_ref_access_pointee_arguments.ll
test/ScopInfo/mod_ref_read_pointee_arguments.ll
test/ScopInfo/multidim_2d_with_modref_call_2.ll

llvm-svn: 342010
2018-09-11 23:48:14 +00:00
..
DependenceInfo.cpp [DepInfo] Use isl++ in Dependences::isValidSchedule. NFC. 2018-08-10 22:33:27 +00:00
PolyhedralInfo.cpp getDependences to new C++ interface 2018-06-06 13:10:32 +00:00
PruneUnprofitable.cpp [polly] Update uses of DEBUG macro to LLVM_DEBUG. 2018-05-15 13:37:17 +00:00
ScopBuilder.cpp [IR] Replace `isa<TerminatorInst>` with `isTerminator()`. 2018-08-26 09:51:22 +00:00
ScopDetection.cpp [ScopDetection] Use addUnknown for calls in the AliasSetTracker. 2018-09-11 23:48:14 +00:00
ScopDetectionDiagnostic.cpp [ScopDetect] Reject loop with multiple exit blocks. 2018-04-25 18:53:33 +00:00
ScopGraphPrinter.cpp Adjust to clang-format changes 2018-03-20 17:16:32 +00:00
ScopInfo.cpp [ScopBuilder] Set domain to empty instead of NULL. 2018-08-01 22:28:32 +00:00
ScopPass.cpp Rename OptimizationDiagnosticInfo.h to OptimizationRemarkEmitter.h 2017-10-09 23:49:08 +00:00