search for: 8229f1a7

Displaying 2 results from an estimated 2 matches for "8229f1a7".

2010 Oct 28
0
[LLVMdev] Scalar Evolution not canonalizing division?
...LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101027/8229f1a7/attachment.html>
2010 Oct 27
3
[LLVMdev] Scalar Evolution not canonalizing division?
Hi, I am just found a scalar evolution function that does not seem canonical to me. The C code I used to produce it is: long foo (long n, long m) { long i, j; long A[n][m]; for (i = 0; i < n; ++i) for (j = 0; j < m; ++j) A[i][j] = 1; return A[42][42]; } This produces after applying -mem2reg the attached LLVM-IR. For the store to the array A in the loop I get