two changes: 1) make AliasSet hold the list of call sites with an
commitb6e2dc9cb24673f49407cf470e994eae82c09d8e
authorChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 18:42:23 +0000 (29 18:42 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 18:42:23 +0000 (29 18:42 +0000)
tree22dc8165df04b3500e6eb4b2120d082e9bd79957
parent50f1780bb87341127c4a800acc9a0b0164a5959c
two changes: 1) make AliasSet hold the list of call sites with an
assertingvh so we get a violent explosion if the pointer dangles.

2) Fix AliasSetTracker::deleteValue to remove call sites with
   by-pointer comparisons instead of by-alias queries.  Using
   findAliasSetForCallSite can cause alias sets to get merged
   when they shouldn't, and can also miss alias sets when the
   call is readonly.

#2 fixes PR6889, which only repros with a .c file :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112452 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/AliasSetTracker.h
lib/Analysis/AliasSetTracker.cpp
lib/Transforms/Scalar/LICM.cpp