InAlloca documentation out of sync?

Rafael EspĂ­ndola rafael.espindola at
Thu Mar 13 18:59:29 PDT 2014

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.


More information about the llvm-commits mailing list