r248276 - [mips] Added support for using the command line options -Wa, -msoft-float and -Wa, -mhard-float.

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 19:17:24 PDT 2015


I agree. We really don't want to support arm flags on Intel and vice versa.
But also, we don't want to slow down simpler targets because of arm/mips
excessively detailed target description. :-)

However, we should be conservative on how we test the target in here. We
don't want yet another large switch or string parsing just to avoid one or
two flags.

Cheers,
Renato
On 23 Sep 2015 2:55 am, "Daniel Sanders" <Daniel.Sanders at imgtec.com> wrote:

> Sure. We should probably go a step further and accept/process them on a
> target-specific basis. The Driver knows the triple which should be accurate
> enough for our purposes.
>
> CC'd Renato since I'm aware he added some for ARM recently.
>
> > -----Original Message-----
> > From: cfe-commits [mailto:cfe-commits-bounces at lists.llvm.org] On Behalf
> > Of Joerg Sonnenberger via cfe-commits
> > Sent: 22 September 2015 17:03
> > To: cfe-commits at lists.llvm.org
> > Subject: Re: r248276 - [mips] Added support for using the command line
> > options -Wa, -msoft-float and -Wa, -mhard-float.
> >
> > On Tue, Sep 22, 2015 at 01:52:33PM -0000, Daniel Sanders via cfe-commits
> > wrote:
> > > Author: dsanders
> > > Date: Tue Sep 22 08:52:32 2015
> > > New Revision: 248276
> > >
> > > URL: http://llvm.org/viewvc/llvm-project?rev=248276&view=rev
> > > Log:
> > > [mips] Added support for using the command line options
> -Wa,-msoft-float
> > and -Wa,-mhard-float.
> >
> > Can we please split the various -Wa options supported by the platforms
> > or at least add comments for which platforms the flags are? This is
> > starting to become a long list and it will grow even further.
> >
> > Joerg
> > _______________________________________________
> > cfe-commits mailing list
> > cfe-commits at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150923/b4d4abd6/attachment.html>


More information about the llvm-commits mailing list