[LLVMdev] tbaa

Gan george.gan at gmail.com
Fri Dec 2 12:02:58 PST 2011


Can you post the source code of your test case?

Gan


On Fri, Dec 2, 2011 at 1:44 PM,  <liyi at cs.toronto.edu> wrote:
> Hi,
>
> Could anyone tell me how exactly do I use "Type Based Alias Analysis"?
>
> I compiled the C program with Clang, and verified that there is tbaa
> metadata in the IR code.
>
> But then when I use "opt -tbaa input.c.bc -aa-eval" to check the results,
> it always gives 100% may aliasing no matter what input.
>
> Am I using "tbaa" correctly?
>
> Thanks.
> Yi
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



-- 
Best Regards

Gan




More information about the llvm-dev mailing list