Displaying 1 result from an estimated 1 matches for "aee10590".
2020 Apr 04
4
Legality of transformation
Please consider the following C code:
* #define SZ 2048 int main(void) { int A[SZ]; int B[SZ];
int i, tmp; for (i = 0; i < SZ; i++) { tmp = A[i];
B[i] = tmp; } assert(A[SZ/2] == B[SZ/2]); }*
On running -O1 followed by -reg2mem I get the following IR:
*define dso_local i32 @main() local_unnamed_addr #0 {entry: %A = alloca
[2048