Fix a problem in alias analysis. It is about the misinterpretation of "Object".
authorShuxin Yang <shuxin.llvm@gmail.com>
Thu, 28 Feb 2013 00:24:45 +0000 (00:24 +0000)
committerShuxin Yang <shuxin.llvm@gmail.com>
Thu, 28 Feb 2013 00:24:45 +0000 (00:24 +0000)
commitd2eaf45af446ae0a4dd1e606ad6e16f0822f4405
treeed0c2b23760a170c0db4230fb01a02d2e7b10a00
parenta8ada25afdb74a1cc53c183348ad9a424501dc96
Fix a problem in alias analysis. It is about the misinterpretation of "Object".

This problem is exposed by r171325 which is already reverted. It is rather
hard to fabricate a testing case without it.

r171325 should *NOT* be resurrected as it has a potential problem although
this problem dosen't directly contribute to PR14988.

The bug is tracked by:
  - rdar://13063553, and
  - http://llvm.org/bugs/show_bug.cgi?id=14988

Thank Arnold for coming up a better solution to this problem. After
comparing this solution and my original proposal, I decided to ditch mine.

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