Fix a nasty bug (PR3550) where the inline pass could incorrectly mark
authorChris Lattner <sabre@nondot.org>
Thu, 12 Feb 2009 07:06:42 +0000 (07:06 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 12 Feb 2009 07:06:42 +0000 (07:06 +0000)
commitaf9985c6b9d066cb70a0363fed699022d0ec196c
tree7f90188dc6cb669c9d4787150dd9292df8c2f602
parent0aefc0eb2ce18937351348f2aa3d74f27923b8f8
Fix a nasty bug (PR3550) where the inline pass could incorrectly mark
calls with the tail marker when inlining them through an invoke.  Patch,
testcase, and perfect analysis by Jay Foad!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
test/Transforms/Inline/inline-invoke-tail.ll [new file with mode: 0644]