InAlloca documentation out of sync?
Reid Kleckner
rnk at google.com
Wed Mar 26 18:41:26 PDT 2014
Thanks! Should be fixed with r204888.
On Thu, Mar 13, 2014 at 6:59 PM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> I just noticed that the documentation has
>
> struct Foo { int a, b; Foo(); ~Foo(); Foo(const &Foo); };
> void g(Foo a, Foo b);
> void f() {
> f(1, Foo(), 3);
> }
>
> but there is no f with 3 arguments. The IR also seems to have bits
> from a previous design:
>
> declare void @g(%Foo* inalloca %memargs)
>
> but g is called with
>
> call void @g(%callframe.f* inalloca %memargs)
>
> note the type mismatch.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140326/7cb932cc/attachment.html>
More information about the llvm-commits
mailing list