Displaying 3 results from an estimated 3 matches for "exitcond1".
Did you mean:
exitcond
2011 May 03
0
[LLVMdev] Loop-Unroll optimization
....17
%scevgep10 = getelementptr [1000 x i32]* %a, i32 0, i32 %i.17
%scevgep = getelementptr [1000 x i32]* %c, i32 0, i32 %i.17
%2 = load i32* %scevgep10, align 4
%3 = load i32* %scevgep11, align 4
%4 = add nsw i32 %3, %2
store i32 %4, i32* %scevgep, align 4
%5 = add nsw i32 %i.17, 1
%exitcond1 = icmp eq i32 %5, 1000
br i1 %exitcond1, label %bb5, label %bb3
-----------------------------------------
On Tue, May 3, 2011 at 12:32 PM, Arushi Aggarwal <arushi987 at gmail.com>wrote:
> Hi,
>
> You might want to try running -loops -loop-simplify before loop unroll.
>
> F...
2011 May 04
1
[LLVMdev] Loop-Unroll optimization
...000 x i32]* %a, i32 0, i32 %i.17
> %scevgep = getelementptr [1000 x i32]* %c, i32 0, i32 %i.17
> %2 = load i32* %scevgep10, align 4
> %3 = load i32* %scevgep11, align 4
> %4 = add nsw i32 %3, %2
> store i32 %4, i32* %scevgep, align 4
> %5 = add nsw i32 %i.17, 1
> %exitcond1 = icmp eq i32 %5, 1000
> br i1 %exitcond1, label %bb5, label %bb3
>
> -----------------------------------------
>
> On Tue, May 3, 2011 at 12:32 PM, Arushi Aggarwal <arushi987 at gmail.com>wrote:
>
>> Hi,
>>
>> You might want to try running -loops -loop-s...
2011 May 03
3
[LLVMdev] Loop-Unroll optimization
Hi,
You might want to try running -loops -loop-simplify before loop unroll.
>From loop simplify.cpp
This pass performs several transformations to transform natural loops
into a00011 // simpler form, which makes subsequent analyses and
transformations simpler and00012 // more effective.
Arushi
On Tue, May 3, 2011 at 2:17 PM, Manish Gupta <mgupta.iitr at gmail.com> wrote:
> You