Fix PR7272: when inlining through a callsite with byval arguments,
authorDuncan Sands <baldrick@free.fr>
Mon, 31 May 2010 21:00:26 +0000 (21:00 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 31 May 2010 21:00:26 +0000 (21:00 +0000)
commit2914ba6ec793e2bb0e9ca5891af1d29ee2fee28e
treeb2e683391315ed7a0ddfa52dfee01e6a6c91384c
parent89e735673ae02cbdba08ed6d7b543453cbf34e17
Fix PR7272: when inlining through a callsite with byval arguments,
the newly created allocas may be used by inlined calls, so these
need to have their tail call flags cleared.  Fixes PR7272.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105255 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/InlineFunction.cpp
test/Transforms/Inline/2010-05-31-ByvalTailcall.ll [new file with mode: 0644]