[llvm-commits] [PATCH] Add float abi CL option for lli

Amara Emerson amara.emerson at arm.com
Wed Oct 10 00:41:19 PDT 2012


I think that functionality would be a good thing to have now that our testing infrastructure is transitioning to hard float systems. However, that sounds like something that can be a separate patch to me. Having a runtime user configurable option would also be helpful in the (speculative) use case where the target system may not be the same one that lli is running on.

Amara

-----Original Message-----
From: Rafael EspĂ­ndola [mailto:rafael.espindola at gmail.com] 
Sent: 09 October 2012 22:54
To: Amara Emerson
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [llvm-commits] [PATCH] Add float abi CL option for lli

Since lli produces native code, wouldn't it be possible to detect what
system it is running on at runtime or maybe configure/cmake time?

On 8 October 2012 11:32, Amara Emerson <amara.emerson at arm.com> wrote:
> Hi,
>
> lli currently uses the default target options for most things, including the
> float ABI which defaults to soft. On hard float systems, this can cause
> silent faults when the JITed code tries to call library functions built for
> hard float ABI.
>
> The attached patch allows specifying the float abi to lli in exactly the
> same way as llc does it, via a -float-abi=[hard|soft|default] option.
>
> Amara
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>








More information about the llvm-commits mailing list