[llvm-commits] [patch] Update llvm-gcc to produce "" for the default calling convention on ARM

Bob Wilson bob.wilson at apple.com
Tue Jun 15 15:07:22 PDT 2010


On Jun 15, 2010, at 2:50 PM, Rafael Espindola wrote:

>> As far as I understand this, you want to change llvm-gcc and clang to set the CC to "" when it matches the backend's default for the target.  This patch seems insufficient.  You'll need to check to see what the current target is set to and compare the current ABI against the default for that target.
> 
> An updated patch is attached. With it and a gcc configured for
> arm-none-linux-gnueabi I get:
> 
> *) no -mabi -> ""
> *) -mabi=aapcs -> ""
> *)  -mcpu=cortex-a8  -> arm_apcscc
> *)  -mfloat-abi=hard  -> arm_aapcs_vfpcc
> 
> Is it OK?

Yeah, I think that will work.



More information about the llvm-commits mailing list