[llvm-commits] calling convention support for ARM AAPCS VFP "homogenous aggregates"

Bob Wilson bob.wilson at apple.com
Sat Aug 15 19:08:41 PDT 2009


On Aug 15, 2009, at 8:47 AM, Sandeep Patel wrote:

> On Sat, Aug 15, 2009 at 3:20 PM, Bob Wilson<bob.wilson at apple.com>  
> wrote:
>>
>> Yes, build_gcc uses -Werror.   Your patch fixes the warning, but I  
>> wasn't
>> expecting to see a cast there -- I thought one of your patches  
>> changed it to
>> use CallingConv::ID everywhere instead of unsigned.  Did you miss  
>> something
>> or is there a reason to keep it an unsigned in some places?
>
> The patch covered everywhere in llvm-gcc, not LLVM proper. There are a
> couple of wrinkles in doing the same to LLVM: the C API takes an
> unsigned in LLVMSetFunctionCallConv() and LLParser needs to
> ParseUInt32() in ParseOptionalCallingConv(). An hour before getting on
> a plane doesn't seem like the time to submit a patch that changes the
> API, so I think we can revisit the LLVM part of this cleanup later.

OK, that makes sense to me.



More information about the llvm-commits mailing list