A global variable with internal linkage where all uses are in one function and whose...
authorAnders Carlsson <andersca@mac.com>
Wed, 23 Mar 2011 02:19:48 +0000 (02:19 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 23 Mar 2011 02:19:48 +0000 (02:19 +0000)
commit90af3420614fcfbcc6e2c2702fbdde144e13af86
treeb378e310969b1df382ab492691e637102683374d
parenta2f45291e1a50a571a15bbf4da38a5f42a2424ef
A global variable with internal linkage where all uses are in one function and whose address is never taken is a non-escaping local object and can't alias anything else.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128140 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp
test/Analysis/BasicAA/non-escaping-local-object.ll [new file with mode: 0644]