[llvm] r262352 - [X86] Check that attribute parameters match for tail calls (PR26590)

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 09:51:27 PST 2016


On Tue, Mar 1, 2016 at 9:45 AM, Hans Wennborg via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: hans
> Date: Tue Mar  1 11:45:23 2016
> New Revision: 262352
>
> URL: http://llvm.org/viewvc/llvm-project?rev=262352&view=rev
> Log:
> [X86] Check that attribute parameters match for tail calls (PR26590)
>
> In the code below on 32-bit targets, x would previously get forwarded to g()
> without sign-extension to 32 bits as required by the parameter attribute.
>
>   void g(signed short);
>   void f(unsigned short x) {
>     g(x);
>   }

Forgot to mention on the commit, this was http://reviews.llvm.org/D17662


More information about the llvm-commits mailing list