summaryrefslogtreecommitdiffstats
path: root/polly/test/ScopInfo/same-base-address-scalar-and-array.ll
Commit message (Collapse)AuthorAgeFilesLines
* ScopInfo: Never add read accesses for synthesizable valuesMichael Kruse2016-01-271-1/+0
| | | | | | | | | | | | | Before adding a MK_Value READ MemoryAccess, check whether the read is necessary or synthesizable. Synthesizable values are later generated by the SCEVExpander and therefore do not need to be transferred explicitly. This can happen because the check for synthesizability has presumbly been forgotten in the case where a phi's incoming value has been defined in a different statement. Differential Revision: http://reviews.llvm.org/D15687 llvm-svn: 258998
* Remove -polly-code-generator=isl from many test casesTobias Grosser2015-11-211-1/+1
| | | | | | | This is the default since a long time. Setting it again does not add value in any of these test cases. llvm-svn: 253800
* Consistenly use getTypeAllocSize for size estimation.Johannes Doerfert2015-11-121-2/+2
| | | | | | | | | Only when we check for wrapping we want to use the store size, for all other cases we use the alloc size now. Suggested by: Tobias Grosser <tobias@grosser.es> llvm-svn: 252941
* Simplify test caseTobias Grosser2015-11-101-45/+1
| | | | | | | Commit r252422 introduced an unnecessary complicated test case. Reduce it to the part that actually triggered the original issue. llvm-svn: 252611
* ScopInfo: Make printing of ScopArrayInfo more similar to declarations in CTobias Grosser2015-11-101-3/+3
| | | | | | | | | | | | | | | Memory references are now printed as follows: Old New Scalars: i64 MemRef_val[*] i64 MemRef_val; Arrays: i64 MemRef_A[*][%m][%o][8] i64 MemRef_A[*][%m][%o]; We do not print any more information about the element size in the type. Such information has already been available in a comment after the scalar/array declaration. It was redundant and did not match well with what people were used from C. llvm-svn: 252602
* [FIX] Introduce different SAI objects for scalar and memory accessesJohannes Doerfert2015-11-081-0/+74
Even if a scalar and memory access have the same base pointer, we cannot use one SAI object as the type but also the number of dimensions are wrong. For the attached test case this caused a crash in the invariant load hoisting, though it could cause various other problems too. This fixes bug 25428 and a execution time bug in MallocBench/cfrac. Reported-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> llvm-svn: 252422
OpenPOWER on IntegriCloud