Displaying 2 results from an estimated 2 matches for "r60748".
Did you mean:
960748
2008 Dec 09
1
[LLVMdev] scalar-evolution + indvars fail to get the loop trip count?
...I haven't yet gotten around to working on the complex
> case of a non-unit stride).
>
>
Make sense.
>> > 3. As the loop count is over 100, the Brute-Force algorithm also doent work
>> >
>> > Can we improve this?
>>
>
> Done. Committed in r60748.
>
Thanks for your quick work, Nick :-)
2008 Dec 09
1
[LLVMdev] scalar-evolution + indvars fail to get the loop trip count?
Hi,
Seems pass scalar-evolution+indvars fail to get the loop trip count of the
following case:
int foo(int x, int y, int lam[256], int alp[256]) {
int i;
int z = y;
for (i = 255; i >= 0; i--) {
z += x;
lam[i] = alp[i];
}
return z;
}
The final optimized ll code is :
define i32 @foo(i32 %x, i32 %y, i32* %lam, i32* %alp) nounwind {
entry:
br label %bb
bb: