diff options
| author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-04-29 06:27:02 +0000 |
|---|---|---|
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-04-29 06:27:02 +0000 |
| commit | 758053788bde4747953f5f276ded345cd01323b1 (patch) | |
| tree | 02f38df95a5327cb8644906d148b5bd8facf63f9 /polly/test/TempScop/not-a-reduction.c | |
| parent | 011eae75123217b9125270ae08132a308cee7061 (diff) | |
| download | bcm5719-llvm-758053788bde4747953f5f276ded345cd01323b1.tar.gz bcm5719-llvm-758053788bde4747953f5f276ded345cd01323b1.zip | |
Add initial version of Polly
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e
in the old git repository.
llvm-svn: 130476
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]; + } +} |

