|
|
| Bugzilla Link |
1310 |
| Resolution |
DUPLICATE |
| Resolved on |
Feb 22, 2010 12:54 |
| Version |
trunk |
| OS |
All |
Extended Description
This program is a return undef:
int main(void) {
int foo[12][8];
foo[0][0] = 1;
for (int i = 0; i < 10; ++i) {
foo[i][5] = i;
}
foo[0][1] = 2;
foo[1][1] = 3;
foo[2][1] = 4;
foo[3][1] = 5;
return foo[4][4];
}
but LLVM has unrolled the loop and otherwise left in all of the stores and the
sole load.