summaryrefslogtreecommitdiffstats
path: root/polly/test/ScopInfo/variant_base_pointer.ll
Commit message (Collapse)AuthorAgeFilesLines
* [ScopDetection] Require LoadInst base pointers to be hoisted.Michael Kruse2017-03-071-4/+7
| | | | | | | | | | | | | | | | | | 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
* Remove read-only statements from the SCoPJohannes Doerfert2015-11-031-0/+1
| | | | | | | | | | | We do not need to model read-only statements in the SCoP as they will not cause any side effects that are visible to the outside anyway. Removing them should safe us time and might even simplify the ASTs we generate. Differential Revision: http://reviews.llvm.org/D14272 llvm-svn: 251948
* [FIX] Do not hoist nested variant base pointersJohannes Doerfert2015-10-211-0/+34
This fixes bug 25249. llvm-svn: 250958
OpenPOWER on IntegriCloud