search for: sunkaddr3

Displaying 3 results from an estimated 3 matches for "sunkaddr3".

Did you mean: sunkaddr
2012 Nov 09
0
[LLVMdev] inttoptr and basicaa
...am observing some incorrect behavior in basicaa, wherein two pointers that > basicaa should determine to be MustAlias are ending up NoAlias - the other > extreme :( > I am blaming this on basicaa not handling inttoptr. Here is the relevant IR > snippet. > -------------------- > %sunkaddr36 = ptrtoint %struct.BitParams* %bs to i32 > %sunkaddr37 = add i32 %sunkaddr36, 16 > %sunkaddr38 = inttoptr i32 %sunkaddr37 to i32* > > > > %sunkaddr39 = ptrtoint %struct.BitParams* %bs to i32 > %sunkaddr40 = add i32 %sunkaddr39, 16 > %sunkaddr41 = inttoptr i32 %sunk...
2012 Nov 09
2
[LLVMdev] inttoptr and basicaa
...(i64* %sunkaddr4, 18446744073709551615) AliasSet[0x112d07d40, 1] must alias, Mod Pointers: (i32* %sunkaddr2, 18446744073709551615) define void @basicaatest(%str* %a) { %sunkaddr1 = ptrtoint %str* %a to i32 %sunkadd = add i32 %sunkaddr1, 4 %sunkaddr2 = inttoptr i32 %sunkadd to i32* %sunkaddr3 = ptrtoint %str* %a to i32 %sunkadd2 = add i32 %sunkaddr1, 4 %sunkaddr4 = inttoptr i32 %sunkadd2 to i64* store i64 1, i64* %sunkaddr4, !tbaa !0 store i32 2, i32* %sunkaddr2, !tbaa !2 ret void } !0 = metadata !{metadata !"int64", metadata !1} !1 = metadata !{} !2 = metadata !{me...
2012 Nov 09
3
[LLVMdev] inttoptr and basicaa
Hi, I am observing some incorrect behavior in basicaa, wherein two pointers that basicaa should determine to be MustAlias are ending up NoAlias - the other extreme :( I am blaming this on basicaa not handling inttoptr. Here is the relevant IR snippet. -------------------- %sunkaddr36 = ptrtoint %struct.BitParams* %bs to i32 %sunkaddr37 = add i32 %sunkaddr36, 16 %sunkaddr38 = inttoptr i32 %sunkaddr37 to i32* %sunkaddr39 = ptrtoint %struct.BitParams* %bs to i32 %sunkaddr40 = add i32 %sunkaddr39, 16 %sunkaddr41 = inttoptr i32 %sunkaddr40 to i64* ---------------------...