Use the new addEscapingValue callback to update GlobalsModRef when GVN adds PHIs...
authorOwen Anderson <resistor@mac.com>
Mon, 3 Jan 2011 23:51:43 +0000 (23:51 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 3 Jan 2011 23:51:43 +0000 (23:51 +0000)
commit392249fcf368a22f48091a16c180160221c7e89a
treedd8cb42da994ce4dd34ebb9dac0b51dc1b2b9deb
parentbbdcd443614fc1ac012227d9975201c18b9e2ab4
Use the new addEscapingValue callback to update GlobalsModRef when GVN adds PHIs of GEPs. For the moment,
have GlobalsModRef handle this conservatively by simply removing the value from its maps.

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