[LLVMdev] tbaa

ggan at codeaurora.org ggan at codeaurora.org
Fri Dec 2 12:07:13 PST 2011


Can you post the source code of your test case?

Gan

> 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
>





More information about the llvm-dev mailing list