[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)
commit56e2c62a8d1bc3337f022c02c3865916faa9f440
treeb661867afbfca1b676e7dca8be2285e584ca8073
parent6919267d0be8a854ef2397269f9fe6784377de64
[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.

llvm-svn: 242892
llvm/lib/Analysis/IPA/GlobalsModRef.cpp