[GMR] Only look in the associated allocs map for an underlying value if
authorChandler Carruth <chandlerc@gmail.com>
Wed, 22 Jul 2015 11:43:24 +0000 (11:43 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 22 Jul 2015 11:43:24 +0000 (11:43 +0000)
commit5b6ebf5b5c2fef2049897f28e9e66bba38c41923
treec8200a87f823a2f318a6336697bf07fae6ab68e8
parentf28cb39e4ca07c387dd270ce123753f898a75d5c
[GMR] Only look in the associated allocs map for an underlying value if
it wasn't one of the indirect globals (which clearly cannot be an
allocation function call). Also only do a single lookup into this map
instead of two. NFC.

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