[PATCH] D21318: GlobalsAA: Functions with the argmemonly attribute won't read arbitrary globals

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 10:17:47 PDT 2016


tstellarAMD added a comment.

In http://reviews.llvm.org/D21318#458374, @eli.friedman wrote:

> For the testcase, maybe try passing "-disable-basicaa"?  Or maybe come up with something BasicAA can't analyze, like a call to a function which calls an argmemonly function.


Thanks for the tip.  -disable-basicaa makes the testcase depend on this change now.


http://reviews.llvm.org/D21318





More information about the llvm-commits mailing list