llvm-project/polly/lib
Tobias Grosser 4f6bceface Do not scale tile loops
We now generate tile loops as:

 for (int c1 = 0; c1 <= 47; c1 += 1)
   for (int c2 = 0; c2 <= 47; c2 += 1)
     for (int c3 = 0; c3 <= 31; c3 += 1)
       for (int c4 = 0; c4 <= 31; c4 += 4)
         #pragma simd
         for (int c5 = c4; c5 <= c4 + 3; c5 += 1)
           Stmt_for_body3(32 * c1 + c3, 32 * c2 + c5);

instead of

 for (int c1 = 0; c1 <= 1535; c1 += 32)
   for (int c2 = 0; c2 <= 1535; c2 += 32)
     for (int c3 = 0; c3 <= 31; c3 += 1)
       for (int c4 = 0; c4 <= 31; c4 += 4)
         #pragma simd
         for (int c5 = c4; c5 <= c4 + 3; c5 += 1)
           Stmt_for_body3(c1 + c3, c2 + c5);

Run-time performance-wise this makes little difference, but this gives a large
reduction in compile time (10-30% on 17 LNT benchmarks). Apparently the isl
AST generator is not yet very efficient in generating the latter.

llvm-svn: 233675
2015-03-31 07:52:36 +00:00
..
Analysis DebugInfo: Use the new DebugLoc API from r233573 2015-03-30 21:47:17 +00:00
CodeGen Update isl to 285e92aea 2015-03-30 17:28:57 +00:00
Exchange Fix stupid memory leak 2015-03-26 22:22:33 +00:00
External Update isl to 285e92aea 2015-03-30 17:28:57 +00:00
JSON Added arcanist linters and cleaned errors and warnings 2014-08-18 00:40:13 +00:00
Support Drop libpluto support 2015-03-30 17:54:01 +00:00
Transform Do not scale tile loops 2015-03-31 07:52:36 +00:00
CMakeLists.txt Drop libpluto support 2015-03-30 17:54:01 +00:00
Makefile Drop libpluto support 2015-03-30 17:54:01 +00:00
Polly.cpp Move Pass registration into polly library 2014-03-19 17:54:23 +00:00