[llvm-commits] [llvm-gcc-4.2] r46157 - in /llvm-gcc-4.2/trunk/gcc/config/i386: llvm-i386-target.h llvm-i386.cpp
Evan Cheng
evan.cheng at apple.com
Fri Jan 18 09:37:32 PST 2008
It's for ABI compatibility reason. Also, it makes sense.
Evan
On Jan 18, 2008, at 1:39 AM, Duncan Sands wrote:
> Hi Evan,
>
>> Do not pass zero sized array, struct, or class using byval
>> attribute. This is true on both x86-32 and x86-64.
>
> is this because LLVM can't handle it, or is it an optimization?
> If LLVM can't handle passing zero-sized objects using byval, that
> sounds like a bug...
>
> Thanks,
>
> Duncan.
More information about the llvm-commits
mailing list