Displaying 2 results from an estimated 2 matches for "_z5func2v".
Did you mean:
_z5func1v
2010 Jun 16
3
[LLVMdev] Strange pointer aliasing behaviour
...ias, Mod/Ref Pointers: (i32* %0, 4),
(double* %scevgep.i, 8)
A spurious alias comes up between the 2 fields of the struct (which should
in theory not happen).
So, it reloads _length at each iteration, thus no optimization takes place
and the code below is generated :
********
define i32 @_Z5func2v() nounwind readnone {
entry:
%l = alloca %struct.LittleList1, align 8 ; <%struct.LittleList1*>
[#uses=2]
%0 = getelementptr inbounds %struct.LittleList1* %l, i64 0, i32 0 ;
<i32*> [#uses=2]
store i32 4, i32* %0, align 8
br label %bb.i
bb.i:...
2010 Jun 17
0
[LLVMdev] Strange pointer aliasing behaviour
...t; (double* %scevgep.i, 8)
>
> A spurious alias comes up between the 2 fields of the struct (which should
> in theory not happen).
> So, it reloads _length at each iteration, thus no optimization takes place
> and the code below is generated :
>
> ********
>
> define i32 @_Z5func2v() nounwind readnone {
> entry:
> %l = alloca %struct.LittleList1, align 8 ; <%struct.LittleList1*>
> [#uses=2]
> %0 = getelementptr inbounds %struct.LittleList1* %l, i64 0, i32 0 ;
> <i32*> [#uses=2]
> store i32 4, i32* %0, align 8
> br label %bb.i
&g...