diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-11-15 11:38:55 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-11-15 11:38:55 +0000 |
| commit | 8f99c167cdccc628b281fdd163d54d67b35ab9dd (patch) | |
| tree | a28252ff89de8578de3e84f2804e60ab258cef25 /polly/test/CodeGen | |
| parent | 1fb76bd6f77ab621b0906d578cc5d4d59a12b324 (diff) | |
| download | bcm5719-llvm-8f99c167cdccc628b281fdd163d54d67b35ab9dd.tar.gz bcm5719-llvm-8f99c167cdccc628b281fdd163d54d67b35ab9dd.zip | |
ScopInfo: Use names of simple parameters to name the isl parameter dimensions.
Parameters can be complex SCEV expressions, but they can also be single scalar
values. If a parameters is such a simple scalar value and the value is named,
use this name to name the isl parameter dimensions.
llvm-svn: 144641
Diffstat (limited to 'polly/test/CodeGen')
| -rw-r--r-- | polly/test/CodeGen/loop_with_condition_2.ll | 4 | ||||
| -rw-r--r-- | polly/test/CodeGen/single_loop_param.ll | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/polly/test/CodeGen/loop_with_condition_2.ll b/polly/test/CodeGen/loop_with_condition_2.ll index cce3ab08dc1..f42b714442c 100644 --- a/polly/test/CodeGen/loop_with_condition_2.ll +++ b/polly/test/CodeGen/loop_with_condition_2.ll @@ -132,11 +132,11 @@ return: ; preds = %for.end35, %if.then declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind -; CHECK: for (c2=0;c2<=min(1023,M+1024);c2++) { +; CHECK: for (c2=0;c2<=min(1023,m+1024);c2++) { ; CHECK: Stmt_if_then(c2); ; CHECK: Stmt_if_end(c2); ; CHECK: } -; CHECK: for (c2=max(0,M+1025);c2<=1023;c2++) { +; CHECK: for (c2=max(0,m+1025);c2<=1023;c2++) { ; CHECK: Stmt_if_else(c2); ; CHECK: Stmt_if_end(c2); ; CHECK: } diff --git a/polly/test/CodeGen/single_loop_param.ll b/polly/test/CodeGen/single_loop_param.ll index 52e35272b32..a438423f143 100644 --- a/polly/test/CodeGen/single_loop_param.ll +++ b/polly/test/CodeGen/single_loop_param.ll @@ -70,8 +70,8 @@ bb9: ; preds = %bb8, %bb5 declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind -; CHECK: if (M >= 1) { -; CHECK: for (c2=0;c2<=M-1;c2++) { +; CHECK: if (n >= 1) { +; CHECK: for (c2=0;c2<=n-1;c2++) { ; CHECK: Stmt_bb2(c2); ; CHECK: } ; CHECK: } |

