This also adds support for modifiable write accesses (until now only read accesses where supported). We currently do not derive an exact type for the expression, but assume that i64 is good enough. This will be improved in future patches. Contributed by: Yabin Hu <yabin.hwu@gmail.com> llvm-svn: 153319
10 lines
142 B
C
10 lines
142 B
C
int A[1040];
|
|
|
|
int codegen_simple_md() {
|
|
for (int i = 0; i < 32; ++i)
|
|
for (int j = 0; j < 32; ++j)
|
|
A[32*i+j] = 100;
|
|
|
|
return 0;
|
|
}
|