[llvm] r278900 - [ppc64] Don't apply sibling call optimization if callee has any byval arg

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 15:11:49 PDT 2016


On Tue, Aug 16, 2016 at 8:17 PM, Chuang-Yu Cheng via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: cycheng
> Date: Tue Aug 16 22:17:44 2016
> New Revision: 278900
>
> URL: http://llvm.org/viewvc/llvm-project?rev=278900&view=rev
> Log:
> [ppc64] Don't apply sibling call optimization if callee has any byval arg
>
> This is a quick work around, because in some cases, e.g. caller's stack
> size > callee's stack size, we are still able to apply sibling call
> optimization even callee has any byval arg.
>
> This patch fix: https://llvm.org/bugs/show_bug.cgi?id=28328
>
> Reviewers: hfinkel kbarton nemanjai amehsan
> Subscribers: hans, tjablin
>
> https://reviews.llvm.org/D23441

Merged to 3.9 in r278990.

Thanks,
Hans


More information about the llvm-commits mailing list