llvm-project/polly/test/CodeGen/MemAccess/codegen_simple_md.c
Tobias Grosser d6adda3071 CodeGen: Full support for isl_pw expressions in modified access functions.
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
2012-03-23 08:21:22 +00:00

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;
}