summaryrefslogtreecommitdiffstats
path: root/polly/test/Isl/CodeGen/MemAccess/create_arrays.ll
Commit message (Collapse)AuthorAgeFilesLines
* [IRBuilder] Only emit alias scop metadata for arrays, but not scalarsTobias Grosser2017-08-221-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: There is no need to emit alias metadata for scalars, as basicaa will easily distinguish them from arrays. This reduces the size of the metadata we generate. This is especially useful after we moved to -polly-position=before-vectorizer, where a lot more scalar dependences are introduced, which increased the size of the alias analysis metadata and made us commonly reach the limits after which we do not emit alias metadata that have been introduced to prevent quadratic growth of this alias metadata. This improves 2mm performance from 1.5 seconds to 0.17 seconds. Reviewers: Meinersbur, bollu, singam-sanjay Reviewed By: Meinersbur Subscribers: pollydev, llvm-commits Tags: #polly Differential Revision: https://reviews.llvm.org/D37028 llvm-svn: 311498
* [tests] Set -polly-import-jscop-dir=%S alwaysTobias Grosser2017-07-111-2/+2
| | | | | | This simplifies the test cases. llvm-svn: 307645
* [CodeGen] Emit aliasing metadata for new arrays.Michael Kruse2017-06-191-0/+12
| | | | | | | | | | | | Ensure that all array base pointers are assigned before generating aliasing metadata by allocating new arrays beforehand. Before this patch, getBasePtr() returned nullptr for new arrays because the arrays were created at a later point. Nullptr did not match to any array after the created array base pointers have been assigned and when the loads/stores are generated. llvm-svn: 305675
* Store the size of the outermost dimension in case of newly created arrays ↵Roman Gareev2016-09-121-7/+6
| | | | | | | | | | | | | that require memory allocation. We do not need the size of the outermost dimension in most cases, but if we allocate memory for newly created arrays, that size is needed. Reviewed-by: Michael Kruse <llvm@meinersbur.de> Differential Revision: https://reviews.llvm.org/D23991 llvm-svn: 281234
* Add space between access string and follow-up.Michael Kruse2016-08-261-1/+1
| | | | llvm-svn: 279826
* [FIX] Access dimensions should correspond to number of dimensions of the ↵Roman Gareev2016-08-261-3/+5
| | | | | | accesses array. llvm-svn: 279821
* Add missing prefixes.Roman Gareev2016-07-301-7/+7
| | | | llvm-svn: 277264
* Extend the jscop interface to allow the user to declare new arrays and to ↵Roman Gareev2016-07-301-0/+76
reference these arrays from access expressions Extend the jscop interface to allow the user to export arrays. It is required that already existing arrays of the list of arrays correspond to arrays of the SCoP. Each array that is appended to the list will be newly created. Furthermore, we allow the user to modify access expressions to reference any array in case it has the same element type. Reviewed-by: Tobias Grosser <tobias@grosser.es> Differential Revision: https://reviews.llvm.org/D22828 llvm-svn: 277263
OpenPOWER on IntegriCloud