search for: _z5func1v

Displaying 2 results from an estimated 2 matches for "_z5func1v".

2010 Jun 16
3
[LLVMdev] Strange pointer aliasing behaviour
...constructor. Now let's compile and optimize : llvm-g++ -emit-llvm -Winline -O3 -Iinclude -c test2.cpp -o test2.bc opt -S -O3 -print-alias-sets -count-aa test2.bc Result : %struct.LittleList1 = type { i32, [8 x double] } ******** Here, func1() is perfectly optimized : ******** define i32 @_Z5func1v() nounwind readnone { entry: ret i32 4 } ******** func2() should give the exact same result as func1, however ... Alias Set Tracker: 1 alias sets for 2 pointer values. AliasSet[0x0x8ca140,2] may alias, Mod/Ref Pointers: (i32* %0, 4), (double* %scevgep.i, 8) A spurious alias comes up b...
2010 Jun 17
0
[LLVMdev] Strange pointer aliasing behaviour
...llvm-g++ -emit-llvm -Winline -O3 -Iinclude  -c test2.cpp -o test2.bc > opt -S -O3 -print-alias-sets -count-aa test2.bc > > Result : > > %struct.LittleList1 = type { i32, [8 x double] } > > ******** > Here, func1() is perfectly optimized : > ******** > > define i32 @_Z5func1v() nounwind readnone { > entry: >   ret i32 4 > } > > > ******** > func2() should give the exact same result as func1, however ... > > Alias Set Tracker: 1 alias sets for 2 pointer values. >   AliasSet[0x0x8ca140,2] may alias, Mod/Ref   Pointers: (i32* %0, 4), > (dou...