[llvm-commits] [llvm-gcc-4.2] r46164 - in /llvm-gcc-4.2/trunk/gcc/config/i386: llvm-i386-target.h llvm-i386.cpp

Duncan Sands baldrick at free.fr
Tue Jan 22 22:03:11 PST 2008


> > What about integer arrays?
> 
> This is an optimization, not a correctness issue.  Can you give an  
> example that you mean?

According to the x86-64 ABI, arrays of integers that are not more
than 8 bytes long are passed in integer registers.  Likewise for
structs.  So it looks like a correctness issue as well as an optimization :)

CIao,

Duncan.



More information about the llvm-commits mailing list