fix PR5009 by making CGSCCPM realize that a call was devirtualized
authorChris Lattner <sabre@nondot.org>
Sat, 1 May 2010 06:38:43 +0000 (06:38 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 1 May 2010 06:38:43 +0000 (06:38 +0000)
commitbccb41afc8542f01358341451cac85a7115d8763
treeed91f5e9d78e09dd4e77896509fc1aa6d0c83c05
parent1951e108be0591eb1acb533cb84ff1cb72f80da2
fix PR5009 by making CGSCCPM realize that a call was devirtualized
if an indirect call site was removed and a direct one was added, not
just if an indirect call site was modified to be direct.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102830 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/CallGraphSCCPass.cpp
test/Transforms/Inline/devirtualize-3.ll [new file with mode: 0644]