diff options
Diffstat (limited to 'polly/test/TempScop/not-a-reduction.c')
| -rw-r--r-- | polly/test/TempScop/not-a-reduction.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/polly/test/TempScop/not-a-reduction.c b/polly/test/TempScop/not-a-reduction.c new file mode 100644 index 00000000000..7acddb4c2cc --- /dev/null +++ b/polly/test/TempScop/not-a-reduction.c @@ -0,0 +1,13 @@ +#define TYPE float +#define NUM 4 + +TYPE A[NUM]; +TYPE B[NUM]; +TYPE C[NUM]; + +void vector_multiply(void) { + int i; + for (i = 0; i < NUM; i++) { + A[i] = B[i] * C[i]; + } +} |

