[LLVMdev] alias analysis

Chris Lattner sabre at nondot.org
Mon Oct 16 11:45:06 PDT 2006


On Mon, 16 Oct 2006, Ryan M. Lefever wrote:
> Since Data Structure alias analysis inherits from ModulePass rather than
> FunctionPass, does that mean that it performs interprocedural alias
> analysis?

yes.

> Further, if I compare pointers from two different functions,
> will I sometimes get a NoAlias response.

Don't do that :).  That's probably a bug in DSA, but fixing it would be 
impractical.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list