projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Allow creation of GEP constantexprs with a vector of value* operands as
[oota-llvm.git]
/
test
/
Transforms
/
ModuloSched
/
for-array.c
1
#include <stdio.h>
2
3
int main (int argc, char** argv) {
4
int i, a[25];
5
a[0] = 1;
6
7
for (i=1; i < 24; i++) {
8
a[i-1] += i;
9
a[i] = 5;
10
a[i+1] = a[i] + a[i-1];
11
}
12
13
for (i=0; i < 25; i++)
14
printf("a[%d] = %d\n", i, a[i]);
15
16
return 0;
17
}