Displaying 2 results from an estimated 2 matches for "_zn11littlelist2c1ei".
2010 Jun 16
3
[LLVMdev] Strange pointer aliasing behaviour
..., i64 0, i32 1, i64
%indvar.i ; <double*> [#uses=1]
store double 0.000000e+00, double* %scevgep.i, align 8
%1 = load i32* %0, align 8 ; <i32> [#uses=2]
%2 = icmp sgt i32 %1, %tmp2.i ; <i1> [#uses=1]
br i1 %2, label %bb.i, label %_ZN11LittleList2C1Ei.exit
_ZN11LittleList2C1Ei.exit: ; preds = %bb.i
ret i32 %1
********
g++ correctly resolves this alias and both functions are compiled to
"return 4".
llvm-gcc (and opt) detect a spurious alias on func2() (all alias passes
seem to do the same here) which pre...
2010 Jun 17
0
[LLVMdev] Strange pointer aliasing behaviour
...> %indvar.i ; <double*> [#uses=1]
> store double 0.000000e+00, double* %scevgep.i, align 8
> %1 = load i32* %0, align 8 ; <i32> [#uses=2]
> %2 = icmp sgt i32 %1, %tmp2.i ; <i1> [#uses=1]
> br i1 %2, label %bb.i, label %_ZN11LittleList2C1Ei.exit
>
> _ZN11LittleList2C1Ei.exit: ; preds = %bb.i
> ret i32 %1
>
> ********
>
> g++ correctly resolves this alias and both functions are compiled to
> "return 4".
> llvm-gcc (and opt) detect a spurious alias on func2() (all alias passe...