diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-04-21 20:48:47 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-04-21 20:48:47 +0000 |
commit | 9b2cc647eba3b64295e34f43534344ac12c94346 (patch) | |
tree | bcafcd160de3a2482f3f1c12b1681d7ab46ef455 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | eb038915ab3ace23cd2a82df688126f780c6ecae (diff) | |
download | llvm-9b2cc647eba3b64295e34f43534344ac12c94346.zip llvm-9b2cc647eba3b64295e34f43534344ac12c94346.tar.gz llvm-9b2cc647eba3b64295e34f43534344ac12c94346.tar.bz2 |
Fix PR7272 in -tailcallelim instead of the inliner
The -tailcallelim pass should be checking if byval or inalloca args can
be captured before marking calls as tail calls. This was the real root
cause of PR7272.
With a better fix in place, revert the inliner change from r105255. The
test case it introduced still passes and has been moved to
test/Transforms/Inline/byval-tail-call.ll.
Reviewers: chandlerc
Differential Revision: http://reviews.llvm.org/D3403
llvm-svn: 206789
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions