[llvm-commits] Struct-handling patches

Duncan Sands baldrick at free.fr
Wed Oct 1 01:31:42 PDT 2008


Hi,

> I think the main problem that exists is that the frontend now emits memcpy's
> and thus requires holes in structs to be copied, even when this isn't even
> required.

for small structs llvm-gcc should only use a memcpy if the struct has holes.
Otherwise it generates a field-by-field copy.

Ciao,

Duncan.



More information about the llvm-commits mailing list