[LLVMdev] strict aliasing and LLVM

Rafael Espíndola rafael.espindola at gmail.com
Wed Oct 27 19:18:09 PDT 2010


2010/10/27 Xinliang David Li <xinliangli at gmail.com>:
> Thanks. Just built clang and saw the meta data and annotations on the memory
> accesses --  is any opt pass consuming the information?

The tests in test/Analysis/TypeBasedAliasAnalysis suggest that at
least licm is using it. Also note that
lib/Analysis/TypeBasedAliasAnalysis.cpp defines as enable-tbaa option
that is off by default.

> By the way the build instruction in this
> page http://clang.llvm.org/get_started.html needs to be updated -- it
> recommends config (with default settings) and build llvm in the source dir
> -- it leaves some 'sticky' generated files in the source dir leading to
> building problems.

Thanks. Will try to improve it a bit.

>
> David
> 2010/10/27 Rafael Espíndola <rafael.espindola at gmail.com>

Cheers,
Rafael




More information about the llvm-dev mailing list