when merging two alias sets, the result set is volatile if either
authorChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 04:14:47 +0000 (04:14 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 04:14:47 +0000 (04:14 +0000)
commitfedac7d9b0c83c94f0f8cc2aaa6b4cce4a6e9a55
treeeea6373985c32634dd991b6479e9cc422e987a3f
parent9476d746d655524b5460724fbcb9507dd96d2791
when merging two alias sets, the result set is volatile if either
of the sets is volatile.  We were dropping the volatile bit of the
merged in set, leading (luckily) to assertions in cases like
PR7535.  I cannot produce a testcase that repros with opt, but this
is obviously correct.

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