In addition to deleting calls, the inliner can constant fold them as well.
authorChris Lattner <sabre@nondot.org>
Wed, 12 Jul 2006 18:37:18 +0000 (18:37 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 12 Jul 2006 18:37:18 +0000 (18:37 +0000)
commit1bb3a402574557cb228f8a96030776c229e282e5
treef5c1a8093e21fc87e934b5ac16332fca51cc5a77
parentd85340f4ec587e22b0239617f3b747a6df113894
In addition to deleting calls, the inliner can constant fold them as well.
Handle this case, which doesn't require a new callgraph edge.  This fixes
a crash compiling MallocBench/gs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29121 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp