Have InlineFunction use SimplifyInstruction rather than
authorDuncan Sands <baldrick@free.fr>
Wed, 17 Nov 2010 11:16:23 +0000 (11:16 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 17 Nov 2010 11:16:23 +0000 (11:16 +0000)
commit6fb881c036c32728c4a128d81b6083457e534e09
tree1ae552a2bcf48918b7cc75b09e1baafcfc4cf9f4
parent23a19572b2839ee3a6a3520d60d62a465cec7d53
Have InlineFunction use SimplifyInstruction rather than
hasConstantValue.  I was leery of using SimplifyInstruction
while the IR was still in a half-baked state, which is the
reason for delaying the simplification until the IR is fully
cooked.

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