OSDN Git Service

Fix the inliner to always delete any edges from the external call node to
authorChris Lattner <sabre@nondot.org>
Sat, 18 Sep 2004 21:37:03 +0000 (21:37 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 18 Sep 2004 21:37:03 +0000 (21:37 +0000)
commit0c0aa711b8a0550c21f032125c4663ff45864f81
treeb1c028e72e7a45fa31f53122422e7d82d3e7a15f
parentcd382a3725e46a41c6dfb923cd1ee295fa0461aa
Fix the inliner to always delete any edges from the external call node to
a function being deleted.  Due to optimizations done while inlining, there
can be edges from the external call node to a function node that were not
apparent any longer.

This fixes the compiler crash while compiling 175.vpr

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