search for: b7xmqidwvromy

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

2019 Jun 05
2
llvm-ir: TBAA and struct copies
...ks, > > > > Jeroen Dobbelaere > > ---- > > [1] tbaa metadata: https://urldefense.proofpoint.com/v2/url?u=https- > 3A__llvm.org_docs_LangRef.html-23tbaa- > 2Dmetadata&d=DwIDaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=ELyOnT0WepII6 > UnFk-OSzxlGOXXSfAvOLT6E8iPwwJk&m=b7XmqIDwVRomY- > z_Vgfx6dv1OKq85hoK5rRXP8m6Rxs&s=TmYSKjBxhgw5sSVeq- > v7p1UmvzV_81OIMz-_pFakoZQ&e= > > [2] godbolt example with single struct: > https://urldefense.proofpoint.com/v2/url?u=https- > 3A__www.godbolt.org_z_XcQy- > 2DU&d=DwIDaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=ELyOn...
2019 Jun 04
2
llvm-ir: TBAA and struct copies
Hi, I have a question about the current definition of TBAA (See [1]). In the LLVM-IR code that we produce, we generate load/stores of struct types. (See [2] and [3] for a godbolt example showing the issue) For following c-alike code: struct S { int dummy; short e, f; } x,y; struct S* p = &x; int foobar() { x.f=42; *p=y; //**** struct copy return x.f; } We produce: