[LLVMdev] Contributing the Apple ARM64 compiler backend

Chandler Carruth chandlerc at google.com
Fri Mar 28 14:37:22 PDT 2014


On Fri, Mar 28, 2014 at 2:31 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> ----- Original Message -----
> > From: "Tim Northover" <t.p.northover at gmail.com>
> > To: "Renato Golin" <renato.golin at linaro.org>
> > Cc: "LLVM Developers Mailing List" <LLVMdev at cs.uiuc.edu>
> > Sent: Friday, March 28, 2014 3:47:49 PM
> > Subject: Re: [LLVMdev] Contributing the Apple ARM64 compiler backend
> >
> > Hi Renato,
> > >> 2. Test it. Benchmark it. Explore it. Get data for the community
> > >> to work with about the state of the back end. ARM has some
> > >> excellent data that will help guide us here.
> > >
> > > Count me in. Would that be a different triple? arm64-linux-gnu?
> >
> > Yep. "--target arm64-linux-gnu" should behave basically the same as
> > aarch64-linux-gnu, except ending up in the ARM64 backend. Complete
> > with the usual issues of finding your toolchain's includes & libs;
> > we've not solved that.
>
> Is a different target triple the right thing to do here? I think that
> would introduce a ton of user confusion. How about we keep the target
> triples as they are, and add some other way to choose the desired backend?
>

I share your concern. However, I suspect that a) we will always have at
least an alias as both triples are probably in use at this point, and b) it
won't be the end of the world to have two triples for the same arch long
term. amd64 and x86_64 wasn't the end of the world either. ::shrug::
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140328/36a5a1eb/attachment.html>


More information about the llvm-dev mailing list