OSDN Git Service

Fix another really nasty regression that Anshu pointed out. In cases where
authorChris Lattner <sabre@nondot.org>
Sun, 8 Aug 2004 03:29:50 +0000 (03:29 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Aug 2004 03:29:50 +0000 (03:29 +0000)
commit54970c032815edadb1b2988ea33f5a1173e5b29c
tree47e55084e062a7fc89f08aa026068524cc6622bd
parentaf8a42445c99d2d733caf1f9ef3e3b53827613d5
Fix another really nasty regression that Anshu pointed out.  In cases where
dangling constant users were removed from a function, causing it to be dead,
we never removed the call graph edge from the external node to the function.

In most cases, this didn't cause a problem (by luck).  This should definitely
go into 1.3

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15570 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Inliner.cpp