If a SCC has a node without a function, then the SCC
authorDuncan Sands <baldrick@free.fr>
Wed, 3 Sep 2008 19:37:16 +0000 (19:37 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 3 Sep 2008 19:37:16 +0000 (19:37 +0000)
commit34f2a0ca17f00f9ce2081ee278685a007856fd90
tree88efda4af4c6d8f0cb00fde40886fe17b33366b3
parent22ec199fa0198220a11eb70ee55bb7ea3d1f7c60
If a SCC has a node without a function, then the SCC
analysis would bail out without removing function
records for other members of the SCC (which may exist
if those functions read or wrote global variables).
Since these are initialized to "readnone", this
resulted in incorrect alias analysis results.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55714 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/GlobalsModRef.cpp