diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-01-01 23:01:11 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-01-01 23:01:11 +0000 |
commit | 3f29619614336c599b53a58f4822e0a400d6bb9a (patch) | |
tree | cf49560144e98feb4aba8d0be0580fb34a1a224f /polly/test/Isl/CodeGen/OpenMP/single_loop.ll | |
parent | ddf8d7d155fccfd97f85469ae4fba5dd0537d263 (diff) | |
download | bcm5719-llvm-3f29619614336c599b53a58f4822e0a400d6bb9a.tar.gz bcm5719-llvm-3f29619614336c599b53a58f4822e0a400d6bb9a.zip |
Drop all constant scheduling dimensions
Schedule dimensions that have the same constant value accross all statements do
not carry any information, but due to the increased dimensionality of the
schedule cost compile time. To not pay this cost, we remove constant dimensions
if possible.
llvm-svn: 225067
Diffstat (limited to 'polly/test/Isl/CodeGen/OpenMP/single_loop.ll')
-rw-r--r-- | polly/test/Isl/CodeGen/OpenMP/single_loop.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/test/Isl/CodeGen/OpenMP/single_loop.ll b/polly/test/Isl/CodeGen/OpenMP/single_loop.ll index 853222cfe97..8b211c323c3 100644 --- a/polly/test/Isl/CodeGen/OpenMP/single_loop.ll +++ b/polly/test/Isl/CodeGen/OpenMP/single_loop.ll @@ -19,14 +19,14 @@ ; AST: #pragma simd ; AST: #pragma omp parallel for -; AST: for (int c1 = 0; c1 <= 1023; c1 += 1) -; AST: Stmt_S(c1); +; AST: for (int c0 = 0; c0 <= 1023; c0 += 1) +; AST: Stmt_S(c0); ; AST-STRIDE4: #pragma omp parallel for -; AST-STRIDE4: for (int c1 = 0; c1 <= 1023; c1 += 4) +; AST-STRIDE4: for (int c0 = 0; c0 <= 1023; c0 += 4) ; AST-STRIDE4: #pragma simd -; AST-STRIDE4: for (int c2 = c1; c2 <= c1 + 3; c2 += 1) -; AST-STRIDE4: Stmt_S(c2); +; AST-STRIDE4: for (int c1 = c0; c1 <= c0 + 3; c1 += 1) +; AST-STRIDE4: Stmt_S(c1); ; IR-LABEL: single_parallel_loop() ; IR-NEXT: entry |