hanchenye-llvm-project/polly/test/ScopDetectionDiagnostics
Michael Kruse 5a4ec5c42b [ScopDetection] Require LoadInst base pointers to be hoisted.
Only when load-hoisted we can be sure the base pointer is invariant
during the SCoP's execution. Most of the time it would be added to
the required hoists for the alias checks anyway, except with
-polly-ignore-aliasing, -polly-use-runtime-alias-checks=0 or if
AliasAnalysis is already sure it doesn't alias with anything
(for instance if there is no other pointer to alias with).

Two more parts in Polly assume that this load-hoisting took place:
- setNewAccessRelation() which contains an assert which tests this.
- BlockGenerator which would use to the base ptr from the original
  code if not load-hoisted (if the access expression is regenerated)

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

llvm-svn: 297195
2017-03-07 20:28:43 +00:00
..
ReportAlias-01.ll
ReportEntry.ll
ReportFuncCall-01.ll
ReportIrreducibleRegion.ll
ReportIrreducibleRegionWithoutDebugLoc.ll
ReportLoopBound-01.ll
ReportLoopHasNoExit.ll Revert "Currently broken by recent LLVM upstream changes" 2017-03-02 21:43:50 +00:00
ReportMultipleNonAffineAccesses.ll
ReportNonAffineAccess-01.ll
ReportUnprofitable.ll
ReportUnreachableInExit.ll [ScopDetection] Do not detect scops that exit to an unreachable 2017-03-07 15:50:43 +00:00
ReportVariantBasePtr-01.ll [ScopDetection] Require LoadInst base pointers to be hoisted. 2017-03-07 20:28:43 +00:00