[LLVMdev] ARM struct byval size > 64 triggers failure
Renato Golin
renato.golin at linaro.org
Thu Jun 20 05:51:55 PDT 2013
On 20 June 2013 13:35, Rajesh Viswabramana <rajesh.vis at samsung.com> wrote:
> - What considerations will be made from llvm side to make abi
> compatibile with gcc/other compilers for arm - struct byval size >64 bytes.
>
Hi Rajesh,
I'm not sure I follow your question, but in general, the idea is to be
compatible with ABIs, not with specific compilers. So, if compiler X is not
YABI compatible, the best thing to do is to make it be so, rather than make
LLVM follow X blindly.
The one exception is, of course, GCC. But in all cases, we should aim to be
compatible with both public ABIs and GCC extensions, and whenever possible,
implement one as alias to each other. This is the path taken by the
Compiler-RT project, for example, and how it is done for library calls in
ARMISelLowering.
However, if I'm not mistaken, EABI-GCC always produce EABI compatible
output on ARM. If not, it's probably a bug.
cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130620/0310c966/attachment.html>
More information about the llvm-dev
mailing list