Displaying 2 results from an estimated 2 matches for "e0fa5cc5".
2012 Mar 07
0
[LLVMdev] How to unroll loop with non-constant boundary
Stepan Dyatkovskiy wrote:
> Hi guys,
> I attached the modified patch that handles cases with low==end and stride!=1.
I don't see how this could be correct. Your patch treats 'X s<= Y' as 'X
s< Y+1', which is incorrect when Y is INT_MAX. Wouldn't that turn an
infinite loop into a zero-trip loop?
To be clear, this is the flaw in Benjamin's patch which you
2012 Mar 07
2
[LLVMdev] How to unroll loop with non-constant boundary
Hi guys,
I attached the modified patch that handles cases with low==end and stride!=1.
Please find it for review.
-Stepan
28.02.2012, 17:41, "Benjamin Kramer" <benny.kra at googlemail.com>:
> On 27.02.2012, at 20:17, Duncan Sands wrote:
>
>> Hi Benjamin,
>>> LLVM misses this optimization because ScalarEvolution's ComputeExitLimitFromICmp doesn't