[LLVMdev] Two new 'llvmnotes'

Matthijs Kooijman matthijs at stdin.nl
Wed May 7 13:24:54 PDT 2008


> Byval and passing a first class aggregate have the same semantics. 
> However, byval is very efficient for large aggregates and first-class 
> aggregates is efficient for small ones.
I was making the assumption that having the same semantics actually means
being equivalent and thus resulting in the same generated code. Since, AFAICS,
the LLVM IR mainly conveys semantics, what do both ways of writing this imply
for the generated code, then?

Gr.

Matthij
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080507/3ed8c52b/attachment.sig>


More information about the llvm-dev mailing list