llvm-project/polly/test
Tobias Grosser bedef00e2c [ScopInfo] Fold constant coefficients in array dimensions to the right
This allows us to delinearize code such as the one below, where the array
sizes are A[][2 * n] as there are n times two elements in the innermost
dimension. Alternatively, we could try to generate another dimension for the
struct in the innermost dimension, but as the struct has constant size,
recovering this dimension is easy.

   struct com {
     double Real;
     double Img;
   };

   void foo(long n, struct com A[][n]) {
     for (long i = 0; i < 100; i++)
       for (long j = 0; j < 1000; j++)
         A[i][j].Real += A[i][j].Img;
   }

   int main() {
     struct com A[100][1000];
     foo(1000, A);

llvm-svn: 288489
2016-12-02 08:10:56 +00:00
..
CodeGen/OpenMP Update to ISL 0.17. 2016-05-04 14:41:36 +00:00
DeLICM [DeLICM] Add pass boilerplate code. 2016-11-29 16:41:21 +00:00
DeadCodeElimination [Polly] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-15 06:12:29 +00:00
DependenceInfo [GSoC] Do not process SCoPs with infeasible runtime context 2016-07-25 12:40:59 +00:00
FlattenSchedule Add -polly-flatten-schedule pass. 2016-09-08 15:02:36 +00:00
GPGPU [tests] Adjust test output to recent changed SCEV canonocalization [NFC] 2016-11-13 19:27:17 +00:00
Isl [ScopInfo] Fold constant coefficients in array dimensions to the right 2016-12-02 08:10:56 +00:00
ScheduleOptimizer IslAst: always use the context during ast generation 2016-11-10 09:39:58 +00:00
ScopDetect test: add more details to non-affine test case 2016-11-22 06:28:08 +00:00
ScopDetectionDiagnostics [ScopDetection] Remove redundant checks for endless loops 2016-09-20 17:05:22 +00:00
ScopInfo [ScopInfo] Fold constant coefficients in array dimensions to the right 2016-12-02 08:10:56 +00:00
Unit Introduce unittests. 2016-08-25 12:36:15 +00:00
UnitIsl Build and run isl_test as part of check-polly 2016-10-04 19:48:40 +00:00
CMakeLists.txt [cmake] Add polly-isl-test dependency to lit tests. 2016-10-16 21:35:57 +00:00
README
create_ll.sh Small change to create_ll.sh [NFC] 2015-03-08 15:36:27 +00:00
lit.cfg Make the lit configuration Python 3 compatible 2015-07-24 20:33:22 +00:00
lit.site.cfg.in GPGPU: create default initialized PPCG scop and gpu program 2016-07-14 10:22:19 +00:00
polly.ll tests: Drop -polly-detect-unprofitable and -polly-no-early-exit 2015-10-06 15:36:44 +00:00
update_check.py Add -polly-flatten-schedule pass. 2016-09-08 15:02:36 +00:00

README

place tests here