fix PR9856, an incorrectly conservative assertion: a global can be
authorChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 07:15:13 +0000 (07:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 22 May 2011 07:15:13 +0000 (07:15 +0000)
commit98a42b2fc39f3fc46905fb98078cce4ce4e0a827
tree3f1d8c200430e0b4c16dce01d87ed75ddf82d4f2
parent9e7bc05ad7fb69a25aff37e348942b07eed9cd73
fix PR9856, an incorrectly conservative assertion: a global can be
"stored once" even if its address is compared.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131849 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp
test/Transforms/GlobalOpt/crash.ll