diff options
Diffstat (limited to 'polly/test/TempScop/reduction-with-added-immediate.c')
| -rw-r--r-- | polly/test/TempScop/reduction-with-added-immediate.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/polly/test/TempScop/reduction-with-added-immediate.c b/polly/test/TempScop/reduction-with-added-immediate.c new file mode 100644 index 00000000000..985f84b6bbf --- /dev/null +++ b/polly/test/TempScop/reduction-with-added-immediate.c @@ -0,0 +1,12 @@ +#define NUM 128 + +int A[NUM]; +int R; + +int not_a_reduction(void) { + int i; + for (i = 0; i < NUM; i++) { + R += 1 + A[i]; + } + return R; +} |

